Skip to content

Commit

Permalink
[Security/Acl] removed Doctrine dependency from interfaces and moved …
Browse files Browse the repository at this point in the history
…them to the actual implementation
  • Loading branch information
schmittjoh committed Apr 20, 2011
1 parent 8ae7a21 commit 4d6e239
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
3 changes: 2 additions & 1 deletion src/Symfony/Component/Security/Acl/Domain/Acl.php
Expand Up @@ -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;
Expand All @@ -33,7 +34,7 @@
*
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
*/
class Acl implements AuditableAclInterface
class Acl implements AuditableAclInterface, NotifyPropertyChanged
{
private $parentAcl;
private $permissionGrantingStrategy;
Expand Down
4 changes: 2 additions & 2 deletions src/Symfony/Component/Security/Acl/Domain/FieldEntry.php
Expand Up @@ -12,15 +12,15 @@
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;

/**
* Field-aware ACE implementation which is auditable
*
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
*/
class FieldEntry extends Entry implements FieldAwareEntryInterface
class FieldEntry extends Entry implements FieldEntryInterface
{
private $field;

Expand Down
Expand Up @@ -16,7 +16,7 @@
*
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
*/
interface FieldAwareEntryInterface
interface FieldEntryInterface extends EntryInterface
{
/**
* Returns the field used for this entry.
Expand Down
Expand Up @@ -11,8 +11,6 @@

namespace Symfony\Component\Security\Acl\Model;

use Doctrine\Common\NotifyPropertyChanged;

/**
* This interface adds mutators for the AclInterface.
*
Expand All @@ -21,7 +19,7 @@
*
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
*/
interface MutableAclInterface extends AclInterface, NotifyPropertyChanged
interface MutableAclInterface extends AclInterface
{
/**
* Deletes a class-based ACE
Expand Down

0 comments on commit 4d6e239

Please sign in to comment.