summaryrefslogtreecommitdiffstats
path: root/Acl/Domain
diff options
context:
space:
mode:
Diffstat (limited to 'Acl/Domain')
-rw-r--r--Acl/Domain/Acl.php26
-rw-r--r--Acl/Domain/AuditLogger.php6
-rw-r--r--Acl/Domain/DoctrineAclCache.php6
-rw-r--r--Acl/Domain/Entry.php12
-rw-r--r--Acl/Domain/FieldEntry.php4
-rw-r--r--Acl/Domain/ObjectIdentity.php6
-rw-r--r--Acl/Domain/ObjectIdentityRetrievalStrategy.php2
-rw-r--r--Acl/Domain/PermissionGrantingStrategy.php2
-rw-r--r--Acl/Domain/RoleSecurityIdentity.php6
-rw-r--r--Acl/Domain/SecurityIdentityRetrievalStrategy.php4
-rw-r--r--Acl/Domain/UserSecurityIdentity.php12
11 files changed, 43 insertions, 43 deletions
diff --git a/Acl/Domain/Acl.php b/Acl/Domain/Acl.php
index 8222df7..0366ccf 100644
--- a/Acl/Domain/Acl.php
+++ b/Acl/Domain/Acl.php
@@ -47,7 +47,7 @@ class Acl implements AuditableAclInterface, NotifyPropertyChanged
private $listeners;
/**
- * Constructor
+ * Constructor.
*
* @param int $id
* @param ObjectIdentityInterface $objectIdentity
@@ -71,7 +71,7 @@ class Acl implements AuditableAclInterface, NotifyPropertyChanged
}
/**
- * Adds a property changed listener
+ * Adds a property changed listener.
*
* @param PropertyChangedListener $listener
*/
@@ -256,7 +256,7 @@ class Acl implements AuditableAclInterface, NotifyPropertyChanged
}
/**
- * Implementation for the \Serializable interface
+ * Implementation for the \Serializable interface.
*
* @return string
*/
@@ -276,7 +276,7 @@ class Acl implements AuditableAclInterface, NotifyPropertyChanged
}
/**
- * Implementation for the \Serializable interface
+ * Implementation for the \Serializable interface.
*
* @param string $serialized
*/
@@ -395,7 +395,7 @@ class Acl implements AuditableAclInterface, NotifyPropertyChanged
}
/**
- * Deletes an ACE
+ * Deletes an ACE.
*
* @param string $property
* @param int $index
@@ -420,7 +420,7 @@ class Acl implements AuditableAclInterface, NotifyPropertyChanged
}
/**
- * Deletes a field-based ACE
+ * Deletes a field-based ACE.
*
* @param string $property
* @param int $index
@@ -446,7 +446,7 @@ class Acl implements AuditableAclInterface, NotifyPropertyChanged
}
/**
- * Inserts an ACE
+ * Inserts an ACE.
*
* @param string $property
* @param int $index
@@ -495,7 +495,7 @@ class Acl implements AuditableAclInterface, NotifyPropertyChanged
}
/**
- * Inserts a field-based ACE
+ * Inserts a field-based ACE.
*
* @param string $property
* @param int $index
@@ -553,7 +553,7 @@ class Acl implements AuditableAclInterface, NotifyPropertyChanged
}
/**
- * Updates an ACE
+ * Updates an ACE.
*
* @param string $property
* @param int $index
@@ -581,7 +581,7 @@ class Acl implements AuditableAclInterface, NotifyPropertyChanged
}
/**
- * Updates auditing for an ACE
+ * Updates auditing for an ACE.
*
* @param array &$aces
* @param int $index
@@ -608,7 +608,7 @@ class Acl implements AuditableAclInterface, NotifyPropertyChanged
}
/**
- * Updates a field-based ACE
+ * Updates a field-based ACE.
*
* @param string $property
* @param int $index
@@ -642,7 +642,7 @@ class Acl implements AuditableAclInterface, NotifyPropertyChanged
}
/**
- * Called when a property of the ACL changes
+ * Called when a property of the ACL changes.
*
* @param string $name
* @param mixed $oldValue
@@ -656,7 +656,7 @@ class Acl implements AuditableAclInterface, NotifyPropertyChanged
}
/**
- * Called when a property of an ACE associated with this ACL changes
+ * Called when a property of an ACE associated with this ACL changes.
*
* @param EntryInterface $entry
* @param string $name
diff --git a/Acl/Domain/AuditLogger.php b/Acl/Domain/AuditLogger.php
index feb2c42..e3f3bdd 100644
--- a/Acl/Domain/AuditLogger.php
+++ b/Acl/Domain/AuditLogger.php
@@ -16,14 +16,14 @@ use Symfony\Component\Security\Acl\Model\EntryInterface;
use Symfony\Component\Security\Acl\Model\AuditLoggerInterface;
/**
- * Base audit logger implementation
+ * Base audit logger implementation.
*
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
*/
abstract class AuditLogger implements AuditLoggerInterface
{
/**
- * Performs some checks if logging was requested
+ * Performs some checks if logging was requested.
*
* @param bool $granted
* @param EntryInterface $ace
@@ -42,7 +42,7 @@ abstract class AuditLogger implements AuditLoggerInterface
}
/**
- * This method is only called when logging is needed
+ * This method is only called when logging is needed.
*
* @param bool $granted
* @param EntryInterface $ace
diff --git a/Acl/Domain/DoctrineAclCache.php b/Acl/Domain/DoctrineAclCache.php
index 00864f0..667a19e 100644
--- a/Acl/Domain/DoctrineAclCache.php
+++ b/Acl/Domain/DoctrineAclCache.php
@@ -32,7 +32,7 @@ class DoctrineAclCache implements AclCacheInterface
private $permissionGrantingStrategy;
/**
- * Constructor
+ * Constructor.
*
* @param Cache $cache
* @param PermissionGrantingStrategyInterface $permissionGrantingStrategy
@@ -203,7 +203,7 @@ class DoctrineAclCache implements AclCacheInterface
}
/**
- * Returns the key for the object identity
+ * Returns the key for the object identity.
*
* @param ObjectIdentityInterface $oid
*
@@ -216,7 +216,7 @@ class DoctrineAclCache implements AclCacheInterface
}
/**
- * Returns the alias key for the object identity key
+ * Returns the alias key for the object identity key.
*
* @param string $aclId
*
diff --git a/Acl/Domain/Entry.php b/Acl/Domain/Entry.php
index a487c96..55c4b37 100644
--- a/Acl/Domain/Entry.php
+++ b/Acl/Domain/Entry.php
@@ -16,7 +16,7 @@ use Symfony\Component\Security\Acl\Model\AuditableEntryInterface;
use Symfony\Component\Security\Acl\Model\SecurityIdentityInterface;
/**
- * Auditable ACE implementation
+ * Auditable ACE implementation.
*
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
*/
@@ -32,7 +32,7 @@ class Entry implements AuditableEntryInterface
private $granting;
/**
- * Constructor
+ * Constructor.
*
* @param int $id
* @param AclInterface $acl
@@ -146,7 +146,7 @@ class Entry implements AuditableEntryInterface
}
/**
- * Sets the permission mask
+ * Sets the permission mask.
*
* Do never call this method directly. Use the respective methods on the
* AclInterface instead.
@@ -159,7 +159,7 @@ class Entry implements AuditableEntryInterface
}
/**
- * Sets the mask comparison strategy
+ * Sets the mask comparison strategy.
*
* Do never call this method directly. Use the respective methods on the
* AclInterface instead.
@@ -172,7 +172,7 @@ class Entry implements AuditableEntryInterface
}
/**
- * Implementation of \Serializable
+ * Implementation of \Serializable.
*
* @return string
*/
@@ -190,7 +190,7 @@ class Entry implements AuditableEntryInterface
}
/**
- * Implementation of \Serializable
+ * Implementation of \Serializable.
*
* @param string $serialized
*/
diff --git a/Acl/Domain/FieldEntry.php b/Acl/Domain/FieldEntry.php
index 2edc33d..86b1e5b 100644
--- a/Acl/Domain/FieldEntry.php
+++ b/Acl/Domain/FieldEntry.php
@@ -16,7 +16,7 @@ use Symfony\Component\Security\Acl\Model\FieldEntryInterface;
use Symfony\Component\Security\Acl\Model\SecurityIdentityInterface;
/**
- * Field-aware ACE implementation which is auditable
+ * Field-aware ACE implementation which is auditable.
*
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
*/
@@ -25,7 +25,7 @@ class FieldEntry extends Entry implements FieldEntryInterface
private $field;
/**
- * Constructor
+ * Constructor.
*
* @param int $id
* @param AclInterface $acl
diff --git a/Acl/Domain/ObjectIdentity.php b/Acl/Domain/ObjectIdentity.php
index 1111089..907b1d8 100644
--- a/Acl/Domain/ObjectIdentity.php
+++ b/Acl/Domain/ObjectIdentity.php
@@ -17,7 +17,7 @@ use Symfony\Component\Security\Acl\Model\DomainObjectInterface;
use Symfony\Component\Security\Acl\Model\ObjectIdentityInterface;
/**
- * ObjectIdentity implementation
+ * ObjectIdentity implementation.
*
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
*/
@@ -48,7 +48,7 @@ final class ObjectIdentity implements ObjectIdentityInterface
}
/**
- * Constructs an ObjectIdentity for the given domain object
+ * Constructs an ObjectIdentity for the given domain object.
*
* @param object $domainObject
*
@@ -103,7 +103,7 @@ final class ObjectIdentity implements ObjectIdentityInterface
}
/**
- * Returns a textual representation of this object identity
+ * Returns a textual representation of this object identity.
*
* @return string
*/
diff --git a/Acl/Domain/ObjectIdentityRetrievalStrategy.php b/Acl/Domain/ObjectIdentityRetrievalStrategy.php
index fc66856..21ac812 100644
--- a/Acl/Domain/ObjectIdentityRetrievalStrategy.php
+++ b/Acl/Domain/ObjectIdentityRetrievalStrategy.php
@@ -15,7 +15,7 @@ use Symfony\Component\Security\Acl\Exception\InvalidDomainObjectException;
use Symfony\Component\Security\Acl\Model\ObjectIdentityRetrievalStrategyInterface;
/**
- * Strategy to be used for retrieving object identities from domain objects
+ * Strategy to be used for retrieving object identities from domain objects.
*
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
*/
diff --git a/Acl/Domain/PermissionGrantingStrategy.php b/Acl/Domain/PermissionGrantingStrategy.php
index 5d91f61..ef80a20 100644
--- a/Acl/Domain/PermissionGrantingStrategy.php
+++ b/Acl/Domain/PermissionGrantingStrategy.php
@@ -32,7 +32,7 @@ class PermissionGrantingStrategy implements PermissionGrantingStrategyInterface
private $auditLogger;
/**
- * Sets the audit logger
+ * Sets the audit logger.
*
* @param AuditLoggerInterface $auditLogger
*/
diff --git a/Acl/Domain/RoleSecurityIdentity.php b/Acl/Domain/RoleSecurityIdentity.php
index 64f864d..5410a46 100644
--- a/Acl/Domain/RoleSecurityIdentity.php
+++ b/Acl/Domain/RoleSecurityIdentity.php
@@ -15,7 +15,7 @@ use Symfony\Component\Security\Acl\Model\SecurityIdentityInterface;
use Symfony\Component\Security\Core\Role\Role;
/**
- * A SecurityIdentity implementation for roles
+ * A SecurityIdentity implementation for roles.
*
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
*/
@@ -24,7 +24,7 @@ final class RoleSecurityIdentity implements SecurityIdentityInterface
private $role;
/**
- * Constructor
+ * Constructor.
*
* @param mixed $role a Role instance, or its string representation
*/
@@ -38,7 +38,7 @@ final class RoleSecurityIdentity implements SecurityIdentityInterface
}
/**
- * Returns the role name
+ * Returns the role name.
*
* @return string
*/
diff --git a/Acl/Domain/SecurityIdentityRetrievalStrategy.php b/Acl/Domain/SecurityIdentityRetrievalStrategy.php
index 43f1d38..708c633 100644
--- a/Acl/Domain/SecurityIdentityRetrievalStrategy.php
+++ b/Acl/Domain/SecurityIdentityRetrievalStrategy.php
@@ -19,7 +19,7 @@ use Symfony\Component\Security\Core\Role\RoleHierarchyInterface;
use Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter;
/**
- * Strategy for retrieving security identities
+ * Strategy for retrieving security identities.
*
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
*/
@@ -29,7 +29,7 @@ class SecurityIdentityRetrievalStrategy implements SecurityIdentityRetrievalStra
private $authenticationTrustResolver;
/**
- * Constructor
+ * Constructor.
*
* @param RoleHierarchyInterface $roleHierarchy
* @param AuthenticationTrustResolver $authenticationTrustResolver
diff --git a/Acl/Domain/UserSecurityIdentity.php b/Acl/Domain/UserSecurityIdentity.php
index a5b3d77..e3d9a34 100644
--- a/Acl/Domain/UserSecurityIdentity.php
+++ b/Acl/Domain/UserSecurityIdentity.php
@@ -17,7 +17,7 @@ use Symfony\Component\Security\Core\Util\ClassUtils;
use Symfony\Component\Security\Acl\Model\SecurityIdentityInterface;
/**
- * A SecurityIdentity implementation used for actual users
+ * A SecurityIdentity implementation used for actual users.
*
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
*/
@@ -27,7 +27,7 @@ final class UserSecurityIdentity implements SecurityIdentityInterface
private $class;
/**
- * Constructor
+ * Constructor.
*
* @param string $username the username representation
* @param string $class the user's fully qualified class name
@@ -48,7 +48,7 @@ final class UserSecurityIdentity implements SecurityIdentityInterface
}
/**
- * Creates a user security identity from a UserInterface
+ * Creates a user security identity from a UserInterface.
*
* @param UserInterface $user
*
@@ -60,7 +60,7 @@ final class UserSecurityIdentity implements SecurityIdentityInterface
}
/**
- * Creates a user security identity from a TokenInterface
+ * Creates a user security identity from a TokenInterface.
*
* @param TokenInterface $token
*
@@ -78,7 +78,7 @@ final class UserSecurityIdentity implements SecurityIdentityInterface
}
/**
- * Returns the username
+ * Returns the username.
*
* @return string
*/
@@ -88,7 +88,7 @@ final class UserSecurityIdentity implements SecurityIdentityInterface
}
/**
- * Returns the user's class name
+ * Returns the user's class name.
*
* @return string
*/