/** * Removes fallback Acl entries for the Comment class. * * This should be run when uninstalling the CommentBundle, or when * the Class Acl entry end up corrupted. * * @return void */ public function uninstallFallbackAcl() { $oid = new ObjectIdentity('class', $this->commentClass); $this->aclProvider->deleteAcl($oid); }
/** * {@inheritdoc} */ public function deleteAcl(ObjectIdentityInterface $objectIdentity) { $this->aclProvider->deleteAcl($objectIdentity); }
/** * * @param object $object */ public function deleteAcl($object) { $this->aclProvider->deleteAcl($this->getNoProxyIdentityObject($object)); }
/** * {@inheritDoc} */ public function uninstallFallBackAcl() { $this->aclProvider->deleteAcl($this->oid); }
/** * {@inheritdoc} */ public function deleteAclForObject($object) { $this->aclProvider->deleteAcl($this->aclIdentifier->getObjectIdentity(AclIdentifierInterface::OID_TYPE_OBJECT, $object)); }