private function Controller::createObjectIdentity

Creates the ACL for the passed object identity

Parameters

ObjectIdentityInterface $oid:

Return value

void

File

drupal/core/vendor/doctrine/common/tests/Doctrine/Tests/Common/Annotations/Fixtures/Controller.php, line 58

Class

Controller
@Route("/someprefix") @author Johannes M. Schmitt <schmittjoh@gmail.com>

Namespace

Doctrine\Tests\Common\Annotations\Fixtures

Code

private function createObjectIdentity(ObjectIdentityInterface $oid) {
  $classId = $this
    ->createOrRetrieveClassId($oid
    ->getType());
  $this->connection
    ->executeQuery($this
    ->getInsertObjectIdentitySql($oid
    ->getIdentifier(), $classId, true));
}