summaryrefslogtreecommitdiffstats
path: root/Acl/Domain/DoctrineAclCache.php
diff options
context:
space:
mode:
Diffstat (limited to 'Acl/Domain/DoctrineAclCache.php')
-rw-r--r--Acl/Domain/DoctrineAclCache.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/Acl/Domain/DoctrineAclCache.php b/Acl/Domain/DoctrineAclCache.php
index 3aae00f..eb18986 100644
--- a/Acl/Domain/DoctrineAclCache.php
+++ b/Acl/Domain/DoctrineAclCache.php
@@ -26,9 +26,9 @@ class DoctrineAclCache implements AclCacheInterface
{
const PREFIX = 'sf2_acl_';
- protected $cache;
- protected $prefix;
- protected $permissionGrantingStrategy;
+ private $cache;
+ private $prefix;
+ private $permissionGrantingStrategy;
/**
* Constructor
@@ -145,7 +145,7 @@ class DoctrineAclCache implements AclCacheInterface
* @param string $serialized
* @return AclInterface
*/
- protected function unserializeAcl($serialized)
+ private function unserializeAcl($serialized)
{
$acl = unserialize($serialized);
@@ -203,7 +203,7 @@ class DoctrineAclCache implements AclCacheInterface
* @param ObjectIdentityInterface $oid
* @return string
*/
- protected function getDataKeyByIdentity(ObjectIdentityInterface $oid)
+ private function getDataKeyByIdentity(ObjectIdentityInterface $oid)
{
return $this->prefix.md5($oid->getType()).sha1($oid->getType())
.'_'.md5($oid->getIdentifier()).sha1($oid->getIdentifier());
@@ -215,7 +215,7 @@ class DoctrineAclCache implements AclCacheInterface
* @param string $aclId
* @return string
*/
- protected function getAliasKeyForIdentity($aclId)
+ private function getAliasKeyForIdentity($aclId)
{
return $this->prefix.$aclId;
}