예제 #1
0
 public function testConstructor()
 {
     $acl = new Acl(1, $oid = new ObjectIdentity('foo', 'foo'), $permissionStrategy = new PermissionGrantingStrategy(), array(), true);
     $this->assertSame(1, $acl->getId());
     $this->assertSame($oid, $acl->getObjectIdentity());
     $this->assertNull($acl->getParentAcl());
     $this->assertTrue($acl->isEntriesInheriting());
 }
예제 #2
0
 /**
  * {@inheritdoc}
  */
 public function getParentAcl()
 {
     return $this->acl->getParentAcl();
 }