diff options
-rw-r--r-- | Acl/Domain/Acl.php | 3 | ||||
-rw-r--r-- | Acl/Domain/FieldEntry.php | 4 | ||||
-rw-r--r-- | Acl/Model/FieldEntryInterface.php (renamed from Acl/Model/FieldAwareEntryInterface.php) | 2 | ||||
-rw-r--r-- | Acl/Model/MutableAclInterface.php | 4 |
4 files changed, 6 insertions, 7 deletions
diff --git a/Acl/Domain/Acl.php b/Acl/Domain/Acl.php index 20f300b..09bcb34 100644 --- a/Acl/Domain/Acl.php +++ b/Acl/Domain/Acl.php @@ -10,6 +10,7 @@ namespace Symfony\Component\Security\Acl\Domain; +use Doctrine\Common\NotifyPropertyChanged; use Doctrine\Common\PropertyChangedListener; use Symfony\Component\Security\Acl\Model\AclInterface; use Symfony\Component\Security\Acl\Model\AuditableAclInterface; @@ -33,7 +34,7 @@ use Symfony\Component\Security\Acl\Model\SecurityIdentityInterface; * * @author Johannes M. Schmitt <schmittjoh@gmail.com> */ -class Acl implements AuditableAclInterface +class Acl implements AuditableAclInterface, NotifyPropertyChanged { private $parentAcl; private $permissionGrantingStrategy; diff --git a/Acl/Domain/FieldEntry.php b/Acl/Domain/FieldEntry.php index 0f71237..1510df2 100644 --- a/Acl/Domain/FieldEntry.php +++ b/Acl/Domain/FieldEntry.php @@ -12,7 +12,7 @@ namespace Symfony\Component\Security\Acl\Domain; use Symfony\Component\Security\Acl\Model\AclInterface; -use Symfony\Component\Security\Acl\Model\FieldAwareEntryInterface; +use Symfony\Component\Security\Acl\Model\FieldEntryInterface; use Symfony\Component\Security\Acl\Model\SecurityIdentityInterface; /** @@ -20,7 +20,7 @@ use Symfony\Component\Security\Acl\Model\SecurityIdentityInterface; * * @author Johannes M. Schmitt <schmittjoh@gmail.com> */ -class FieldEntry extends Entry implements FieldAwareEntryInterface +class FieldEntry extends Entry implements FieldEntryInterface { private $field; diff --git a/Acl/Model/FieldAwareEntryInterface.php b/Acl/Model/FieldEntryInterface.php index bcf292c..68aa10c 100644 --- a/Acl/Model/FieldAwareEntryInterface.php +++ b/Acl/Model/FieldEntryInterface.php @@ -16,7 +16,7 @@ namespace Symfony\Component\Security\Acl\Model; * * @author Johannes M. Schmitt <schmittjoh@gmail.com> */ -interface FieldAwareEntryInterface +interface FieldEntryInterface extends EntryInterface { /** * Returns the field used for this entry. diff --git a/Acl/Model/MutableAclInterface.php b/Acl/Model/MutableAclInterface.php index 4e52e65..fdd6712 100644 --- a/Acl/Model/MutableAclInterface.php +++ b/Acl/Model/MutableAclInterface.php @@ -11,8 +11,6 @@ namespace Symfony\Component\Security\Acl\Model; -use Doctrine\Common\NotifyPropertyChanged; - /** * This interface adds mutators for the AclInterface. * @@ -21,7 +19,7 @@ use Doctrine\Common\NotifyPropertyChanged; * * @author Johannes M. Schmitt <schmittjoh@gmail.com> */ -interface MutableAclInterface extends AclInterface, NotifyPropertyChanged +interface MutableAclInterface extends AclInterface { /** * Deletes a class-based ACE |