Removed redundant "@return void"-s
This commit is contained in:
parent
0e852fe232
commit
c4226bb6dc
@ -101,7 +101,6 @@ abstract class AbstractDoctrineExtension extends Extension
|
|||||||
*
|
*
|
||||||
* @param array $mappingConfig
|
* @param array $mappingConfig
|
||||||
* @param string $mappingName
|
* @param string $mappingName
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
protected function setMappingDriverAlias($mappingConfig, $mappingName)
|
protected function setMappingDriverAlias($mappingConfig, $mappingName)
|
||||||
{
|
{
|
||||||
@ -117,7 +116,6 @@ abstract class AbstractDoctrineExtension extends Extension
|
|||||||
*
|
*
|
||||||
* @param array $mappingConfig
|
* @param array $mappingConfig
|
||||||
* @param string $mappingName
|
* @param string $mappingName
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
protected function setMappingDriverConfig(array $mappingConfig, $mappingName)
|
protected function setMappingDriverConfig(array $mappingConfig, $mappingName)
|
||||||
{
|
{
|
||||||
|
@ -735,7 +735,6 @@ abstract class AbstractDoctrineExtensionTest extends TestCase
|
|||||||
* @param \Symfony\Component\DependencyInjection\Definition $definition
|
* @param \Symfony\Component\DependencyInjection\Definition $definition
|
||||||
* @param string $methodName
|
* @param string $methodName
|
||||||
* @param array $params
|
* @param array $params
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
protected function assertDICDefinitionMethodCallOnce($definition, $methodName, array $params = null)
|
protected function assertDICDefinitionMethodCallOnce($definition, $methodName, array $params = null)
|
||||||
{
|
{
|
||||||
|
@ -61,8 +61,6 @@ class Router extends BaseRouter
|
|||||||
* Replaces placeholders with service container parameter values in route defaults and requirements.
|
* Replaces placeholders with service container parameter values in route defaults and requirements.
|
||||||
*
|
*
|
||||||
* @param $collection
|
* @param $collection
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
private function resolveParameters(RouteCollection $collection)
|
private function resolveParameters(RouteCollection $collection)
|
||||||
{
|
{
|
||||||
|
@ -26,7 +26,6 @@ interface CompilerPassInterface
|
|||||||
* You can modify the container here before it is dumped to PHP code.
|
* You can modify the container here before it is dumped to PHP code.
|
||||||
*
|
*
|
||||||
* @param ContainerBuilder $container
|
* @param ContainerBuilder $container
|
||||||
* @return void
|
|
||||||
*
|
*
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
|
@ -37,7 +37,6 @@ class RemoveUnusedDefinitionsPass implements RepeatablePassInterface
|
|||||||
* Processes the ContainerBuilder to remove unused definitions.
|
* Processes the ContainerBuilder to remove unused definitions.
|
||||||
*
|
*
|
||||||
* @param ContainerBuilder $container
|
* @param ContainerBuilder $container
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
public function process(ContainerBuilder $container)
|
public function process(ContainerBuilder $container)
|
||||||
{
|
{
|
||||||
|
@ -286,7 +286,6 @@ class Container implements ContainerInterface
|
|||||||
* This is called when you enter a scope
|
* This is called when you enter a scope
|
||||||
*
|
*
|
||||||
* @param string $name
|
* @param string $name
|
||||||
* @return void
|
|
||||||
*
|
*
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
@ -331,7 +330,6 @@ class Container implements ContainerInterface
|
|||||||
* scope.
|
* scope.
|
||||||
*
|
*
|
||||||
* @param string $name The name of the scope to leave
|
* @param string $name The name of the scope to leave
|
||||||
* @return void
|
|
||||||
* @throws \InvalidArgumentException if the scope is not active
|
* @throws \InvalidArgumentException if the scope is not active
|
||||||
*
|
*
|
||||||
* @api
|
* @api
|
||||||
@ -370,7 +368,6 @@ class Container implements ContainerInterface
|
|||||||
* Adds a scope to the container.
|
* Adds a scope to the container.
|
||||||
*
|
*
|
||||||
* @param ScopeInterface $scope
|
* @param ScopeInterface $scope
|
||||||
* @return void
|
|
||||||
*
|
*
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
|
@ -103,7 +103,6 @@ interface ContainerInterface
|
|||||||
* Enters the given scope
|
* Enters the given scope
|
||||||
*
|
*
|
||||||
* @param string $name
|
* @param string $name
|
||||||
* @return void
|
|
||||||
*
|
*
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
@ -113,7 +112,6 @@ interface ContainerInterface
|
|||||||
* Leaves the current scope, and re-enters the parent scope
|
* Leaves the current scope, and re-enters the parent scope
|
||||||
*
|
*
|
||||||
* @param string $name
|
* @param string $name
|
||||||
* @return void
|
|
||||||
*
|
*
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
@ -123,7 +121,6 @@ interface ContainerInterface
|
|||||||
* Adds a scope to the container
|
* Adds a scope to the container
|
||||||
*
|
*
|
||||||
* @param ScopeInterface $scope
|
* @param ScopeInterface $scope
|
||||||
* @return void
|
|
||||||
*
|
*
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
|
@ -854,7 +854,6 @@ EOF;
|
|||||||
* @param array $arguments
|
* @param array $arguments
|
||||||
* @param string $calls By reference
|
* @param string $calls By reference
|
||||||
* @param string $behavior By reference
|
* @param string $behavior By reference
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
private function getServiceCallsFromArguments(array $arguments, array &$calls, array &$behavior)
|
private function getServiceCallsFromArguments(array $arguments, array &$calls, array &$behavior)
|
||||||
{
|
{
|
||||||
|
@ -63,7 +63,6 @@ class XmlDumper extends Dumper
|
|||||||
* Adds parameters.
|
* Adds parameters.
|
||||||
*
|
*
|
||||||
* @param DOMElement $parent
|
* @param DOMElement $parent
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
private function addParameters(\DOMElement $parent)
|
private function addParameters(\DOMElement $parent)
|
||||||
{
|
{
|
||||||
@ -86,7 +85,6 @@ class XmlDumper extends Dumper
|
|||||||
*
|
*
|
||||||
* @param array $methodcalls
|
* @param array $methodcalls
|
||||||
* @param DOMElement $parent
|
* @param DOMElement $parent
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
private function addMethodCalls(array $methodcalls, \DOMElement $parent)
|
private function addMethodCalls(array $methodcalls, \DOMElement $parent)
|
||||||
{
|
{
|
||||||
@ -106,7 +104,6 @@ class XmlDumper extends Dumper
|
|||||||
* @param Definition $definition
|
* @param Definition $definition
|
||||||
* @param string $id
|
* @param string $id
|
||||||
* @param DOMElement $parent
|
* @param DOMElement $parent
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
private function addService($definition, $id, \DOMElement $parent)
|
private function addService($definition, $id, \DOMElement $parent)
|
||||||
{
|
{
|
||||||
@ -176,7 +173,6 @@ class XmlDumper extends Dumper
|
|||||||
* @param string $alias
|
* @param string $alias
|
||||||
* @param string $id
|
* @param string $id
|
||||||
* @param DOMElement $parent
|
* @param DOMElement $parent
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
private function addServiceAlias($alias, $id, \DOMElement $parent)
|
private function addServiceAlias($alias, $id, \DOMElement $parent)
|
||||||
{
|
{
|
||||||
@ -193,7 +189,6 @@ class XmlDumper extends Dumper
|
|||||||
* Adds services.
|
* Adds services.
|
||||||
*
|
*
|
||||||
* @param DOMElement $parent
|
* @param DOMElement $parent
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
private function addServices(\DOMElement $parent)
|
private function addServices(\DOMElement $parent)
|
||||||
{
|
{
|
||||||
@ -220,7 +215,6 @@ class XmlDumper extends Dumper
|
|||||||
* @param string $type
|
* @param string $type
|
||||||
* @param DOMElement $parent
|
* @param DOMElement $parent
|
||||||
* @param string $keyAttribute
|
* @param string $keyAttribute
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
private function convertParameters($parameters, $type, \DOMElement $parent, $keyAttribute = 'key')
|
private function convertParameters($parameters, $type, \DOMElement $parent, $keyAttribute = 'key')
|
||||||
{
|
{
|
||||||
|
@ -77,7 +77,6 @@ class XmlFileLoader extends FileLoader
|
|||||||
*
|
*
|
||||||
* @param SimpleXMLElement $xml
|
* @param SimpleXMLElement $xml
|
||||||
* @param string $file
|
* @param string $file
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
private function parseParameters(SimpleXMLElement $xml, $file)
|
private function parseParameters(SimpleXMLElement $xml, $file)
|
||||||
{
|
{
|
||||||
@ -93,7 +92,6 @@ class XmlFileLoader extends FileLoader
|
|||||||
*
|
*
|
||||||
* @param SimpleXMLElement $xml
|
* @param SimpleXMLElement $xml
|
||||||
* @param string $file
|
* @param string $file
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
private function parseImports(SimpleXMLElement $xml, $file)
|
private function parseImports(SimpleXMLElement $xml, $file)
|
||||||
{
|
{
|
||||||
@ -112,7 +110,6 @@ class XmlFileLoader extends FileLoader
|
|||||||
*
|
*
|
||||||
* @param SimpleXMLElement $xml
|
* @param SimpleXMLElement $xml
|
||||||
* @param string $file
|
* @param string $file
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
private function parseDefinitions(SimpleXMLElement $xml, $file)
|
private function parseDefinitions(SimpleXMLElement $xml, $file)
|
||||||
{
|
{
|
||||||
@ -131,7 +128,6 @@ class XmlFileLoader extends FileLoader
|
|||||||
* @param string $id
|
* @param string $id
|
||||||
* @param SimpleXMLElement $service
|
* @param SimpleXMLElement $service
|
||||||
* @param string $file
|
* @param string $file
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
private function parseDefinition($id, $service, $file)
|
private function parseDefinition($id, $service, $file)
|
||||||
{
|
{
|
||||||
@ -294,7 +290,6 @@ class XmlFileLoader extends FileLoader
|
|||||||
*
|
*
|
||||||
* @param \DOMDocument $dom
|
* @param \DOMDocument $dom
|
||||||
* @param string $file
|
* @param string $file
|
||||||
* @return void
|
|
||||||
*
|
*
|
||||||
* @throws \RuntimeException When extension references a non-existent XSD file
|
* @throws \RuntimeException When extension references a non-existent XSD file
|
||||||
* @throws \InvalidArgumentException When xml doesn't validate its xsd schema
|
* @throws \InvalidArgumentException When xml doesn't validate its xsd schema
|
||||||
@ -369,7 +364,6 @@ EOF
|
|||||||
*
|
*
|
||||||
* @param \DOMDocument $dom
|
* @param \DOMDocument $dom
|
||||||
* @param string $file
|
* @param string $file
|
||||||
* @return void
|
|
||||||
*
|
*
|
||||||
* @throws \InvalidArgumentException When non valid tag are found or no extension are found
|
* @throws \InvalidArgumentException When non valid tag are found or no extension are found
|
||||||
*/
|
*/
|
||||||
@ -422,7 +416,6 @@ EOF
|
|||||||
* Loads from an extension.
|
* Loads from an extension.
|
||||||
*
|
*
|
||||||
* @param SimpleXMLElement $xml
|
* @param SimpleXMLElement $xml
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
private function loadFromExtensions(SimpleXMLElement $xml)
|
private function loadFromExtensions(SimpleXMLElement $xml)
|
||||||
{
|
{
|
||||||
|
@ -83,7 +83,6 @@ class YamlFileLoader extends FileLoader
|
|||||||
*
|
*
|
||||||
* @param array $content
|
* @param array $content
|
||||||
* @param string $file
|
* @param string $file
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
private function parseImports($content, $file)
|
private function parseImports($content, $file)
|
||||||
{
|
{
|
||||||
@ -102,7 +101,6 @@ class YamlFileLoader extends FileLoader
|
|||||||
*
|
*
|
||||||
* @param array $content
|
* @param array $content
|
||||||
* @param string $file
|
* @param string $file
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
private function parseDefinitions($content, $file)
|
private function parseDefinitions($content, $file)
|
||||||
{
|
{
|
||||||
@ -121,7 +119,6 @@ class YamlFileLoader extends FileLoader
|
|||||||
* @param string $id
|
* @param string $id
|
||||||
* @param array $service
|
* @param array $service
|
||||||
* @param string $file
|
* @param string $file
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
private function parseDefinition($id, $service, $file)
|
private function parseDefinition($id, $service, $file)
|
||||||
{
|
{
|
||||||
@ -306,7 +303,6 @@ class YamlFileLoader extends FileLoader
|
|||||||
* Loads from Extensions
|
* Loads from Extensions
|
||||||
*
|
*
|
||||||
* @param array $content
|
* @param array $content
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
private function loadFromExtensions($content)
|
private function loadFromExtensions($content)
|
||||||
{
|
{
|
||||||
|
@ -123,7 +123,6 @@ class ResponseHeaderBag extends HeaderBag
|
|||||||
* Sets a cookie.
|
* Sets a cookie.
|
||||||
*
|
*
|
||||||
* @param Cookie $cookie
|
* @param Cookie $cookie
|
||||||
* @return void
|
|
||||||
*
|
*
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
@ -138,7 +137,6 @@ class ResponseHeaderBag extends HeaderBag
|
|||||||
* @param string $name
|
* @param string $name
|
||||||
* @param string $path
|
* @param string $path
|
||||||
* @param string $domain
|
* @param string $domain
|
||||||
* @return void
|
|
||||||
*
|
*
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
@ -198,7 +196,6 @@ class ResponseHeaderBag extends HeaderBag
|
|||||||
* @param string $name
|
* @param string $name
|
||||||
* @param string $path
|
* @param string $path
|
||||||
* @param string $domain
|
* @param string $domain
|
||||||
* @return void
|
|
||||||
*
|
*
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
|
@ -348,7 +348,6 @@ QUERY;
|
|||||||
* This method is called when an ACL instance is retrieved from the cache.
|
* This method is called when an ACL instance is retrieved from the cache.
|
||||||
*
|
*
|
||||||
* @param AclInterface $acl
|
* @param AclInterface $acl
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
private function updateAceIdentityMap(AclInterface $acl)
|
private function updateAceIdentityMap(AclInterface $acl)
|
||||||
{
|
{
|
||||||
@ -396,7 +395,6 @@ QUERY;
|
|||||||
* map to ensure every ACE only gets instantiated once.
|
* map to ensure every ACE only gets instantiated once.
|
||||||
*
|
*
|
||||||
* @param array $aces
|
* @param array $aces
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
private function doUpdateAceIdentityMap(array &$aces)
|
private function doUpdateAceIdentityMap(array &$aces)
|
||||||
{
|
{
|
||||||
|
@ -148,7 +148,6 @@ class MutableAclProvider extends AclProvider implements MutableAclProviderInterf
|
|||||||
* @param string $propertyName
|
* @param string $propertyName
|
||||||
* @param mixed $oldValue
|
* @param mixed $oldValue
|
||||||
* @param mixed $newValue
|
* @param mixed $newValue
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
public function propertyChanged($sender, $propertyName, $oldValue, $newValue)
|
public function propertyChanged($sender, $propertyName, $oldValue, $newValue)
|
||||||
{
|
{
|
||||||
@ -643,7 +642,6 @@ QUERY;
|
|||||||
* Creates the ACL for the passed object identity
|
* Creates the ACL for the passed object identity
|
||||||
*
|
*
|
||||||
* @param ObjectIdentityInterface $oid
|
* @param ObjectIdentityInterface $oid
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
private function createObjectIdentity(ObjectIdentityInterface $oid)
|
private function createObjectIdentity(ObjectIdentityInterface $oid)
|
||||||
{
|
{
|
||||||
@ -695,7 +693,6 @@ QUERY;
|
|||||||
* Deletes all ACEs for the given object identity primary key.
|
* Deletes all ACEs for the given object identity primary key.
|
||||||
*
|
*
|
||||||
* @param integer $oidPK
|
* @param integer $oidPK
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
private function deleteAccessControlEntries($oidPK)
|
private function deleteAccessControlEntries($oidPK)
|
||||||
{
|
{
|
||||||
@ -706,7 +703,6 @@ QUERY;
|
|||||||
* Deletes the object identity from the database.
|
* Deletes the object identity from the database.
|
||||||
*
|
*
|
||||||
* @param integer $pk
|
* @param integer $pk
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
private function deleteObjectIdentity($pk)
|
private function deleteObjectIdentity($pk)
|
||||||
{
|
{
|
||||||
@ -717,7 +713,6 @@ QUERY;
|
|||||||
* Deletes all entries from the relations table from the database.
|
* Deletes all entries from the relations table from the database.
|
||||||
*
|
*
|
||||||
* @param integer $pk
|
* @param integer $pk
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
private function deleteObjectIdentityRelations($pk)
|
private function deleteObjectIdentityRelations($pk)
|
||||||
{
|
{
|
||||||
@ -728,7 +723,6 @@ QUERY;
|
|||||||
* This regenerates the ancestor table which is used for fast read access.
|
* This regenerates the ancestor table which is used for fast read access.
|
||||||
*
|
*
|
||||||
* @param AclInterface $acl
|
* @param AclInterface $acl
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
private function regenerateAncestorRelations(AclInterface $acl)
|
private function regenerateAncestorRelations(AclInterface $acl)
|
||||||
{
|
{
|
||||||
@ -749,7 +743,6 @@ QUERY;
|
|||||||
*
|
*
|
||||||
* @param string $name
|
* @param string $name
|
||||||
* @param array $changes
|
* @param array $changes
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
private function updateFieldAceProperty($name, array $changes)
|
private function updateFieldAceProperty($name, array $changes)
|
||||||
{
|
{
|
||||||
@ -806,7 +799,6 @@ QUERY;
|
|||||||
*
|
*
|
||||||
* @param string $name
|
* @param string $name
|
||||||
* @param array $changes
|
* @param array $changes
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
private function updateAceProperty($name, array $changes)
|
private function updateAceProperty($name, array $changes)
|
||||||
{
|
{
|
||||||
@ -860,7 +852,6 @@ QUERY;
|
|||||||
* Persists the changes which were made to ACEs to the database.
|
* Persists the changes which were made to ACEs to the database.
|
||||||
*
|
*
|
||||||
* @param \SplObjectStorage $aces
|
* @param \SplObjectStorage $aces
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
private function updateAces(\SplObjectStorage $aces)
|
private function updateAces(\SplObjectStorage $aces)
|
||||||
{
|
{
|
||||||
|
@ -26,7 +26,6 @@ final class Schema extends BaseSchema
|
|||||||
* Constructor
|
* Constructor
|
||||||
*
|
*
|
||||||
* @param array $options the names for tables
|
* @param array $options the names for tables
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
public function __construct(array $options)
|
public function __construct(array $options)
|
||||||
{
|
{
|
||||||
@ -43,8 +42,6 @@ final class Schema extends BaseSchema
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Adds the class table to the schema
|
* Adds the class table to the schema
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
protected function addClassTable()
|
protected function addClassTable()
|
||||||
{
|
{
|
||||||
@ -57,8 +54,6 @@ final class Schema extends BaseSchema
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Adds the entry table to the schema
|
* Adds the entry table to the schema
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
protected function addEntryTable()
|
protected function addEntryTable()
|
||||||
{
|
{
|
||||||
@ -87,8 +82,6 @@ final class Schema extends BaseSchema
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Adds the object identity table to the schema
|
* Adds the object identity table to the schema
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
protected function addObjectIdentitiesTable()
|
protected function addObjectIdentitiesTable()
|
||||||
{
|
{
|
||||||
@ -109,8 +102,6 @@ final class Schema extends BaseSchema
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Adds the object identity relation table to the schema
|
* Adds the object identity relation table to the schema
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
protected function addObjectIdentityAncestorsTable()
|
protected function addObjectIdentityAncestorsTable()
|
||||||
{
|
{
|
||||||
@ -128,8 +119,6 @@ final class Schema extends BaseSchema
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Adds the security identity table to the schema
|
* Adds the security identity table to the schema
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
protected function addSecurityIdentitiesTable()
|
protected function addSecurityIdentitiesTable()
|
||||||
{
|
{
|
||||||
|
@ -56,7 +56,6 @@ class Acl implements AuditableAclInterface, NotifyPropertyChanged
|
|||||||
* @param PermissionGrantingStrategyInterface $permissionGrantingStrategy
|
* @param PermissionGrantingStrategyInterface $permissionGrantingStrategy
|
||||||
* @param array $loadedSids
|
* @param array $loadedSids
|
||||||
* @param Boolean $entriesInheriting
|
* @param Boolean $entriesInheriting
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
public function __construct($id, ObjectIdentityInterface $objectIdentity, PermissionGrantingStrategyInterface $permissionGrantingStrategy, array $loadedSids = array(), $entriesInheriting)
|
public function __construct($id, ObjectIdentityInterface $objectIdentity, PermissionGrantingStrategyInterface $permissionGrantingStrategy, array $loadedSids = array(), $entriesInheriting)
|
||||||
{
|
{
|
||||||
@ -77,7 +76,6 @@ class Acl implements AuditableAclInterface, NotifyPropertyChanged
|
|||||||
* Adds a property changed listener
|
* Adds a property changed listener
|
||||||
*
|
*
|
||||||
* @param PropertyChangedListener $listener
|
* @param PropertyChangedListener $listener
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
public function addPropertyChangedListener(PropertyChangedListener $listener)
|
public function addPropertyChangedListener(PropertyChangedListener $listener)
|
||||||
{
|
{
|
||||||
@ -283,7 +281,6 @@ class Acl implements AuditableAclInterface, NotifyPropertyChanged
|
|||||||
* Implementation for the \Serializable interface
|
* Implementation for the \Serializable interface
|
||||||
*
|
*
|
||||||
* @param string $serialized
|
* @param string $serialized
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
public function unserialize($serialized)
|
public function unserialize($serialized)
|
||||||
{
|
{
|
||||||
@ -405,7 +402,6 @@ class Acl implements AuditableAclInterface, NotifyPropertyChanged
|
|||||||
* @param string $property
|
* @param string $property
|
||||||
* @param integer $index
|
* @param integer $index
|
||||||
* @throws \OutOfBoundsException
|
* @throws \OutOfBoundsException
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
private function deleteAce($property, $index)
|
private function deleteAce($property, $index)
|
||||||
{
|
{
|
||||||
@ -431,7 +427,6 @@ class Acl implements AuditableAclInterface, NotifyPropertyChanged
|
|||||||
* @param integer $index
|
* @param integer $index
|
||||||
* @param string $field
|
* @param string $field
|
||||||
* @throws \OutOfBoundsException
|
* @throws \OutOfBoundsException
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
private function deleteFieldAce($property, $index, $field)
|
private function deleteFieldAce($property, $index, $field)
|
||||||
{
|
{
|
||||||
@ -461,7 +456,6 @@ class Acl implements AuditableAclInterface, NotifyPropertyChanged
|
|||||||
* @param string $strategy
|
* @param string $strategy
|
||||||
* @throws \OutOfBoundsException
|
* @throws \OutOfBoundsException
|
||||||
* @throws \InvalidArgumentException
|
* @throws \InvalidArgumentException
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
private function insertAce($property, $index, $mask, SecurityIdentityInterface $sid, $granting, $strategy = null)
|
private function insertAce($property, $index, $mask, SecurityIdentityInterface $sid, $granting, $strategy = null)
|
||||||
{
|
{
|
||||||
@ -511,7 +505,6 @@ class Acl implements AuditableAclInterface, NotifyPropertyChanged
|
|||||||
* @param string $strategy
|
* @param string $strategy
|
||||||
* @throws \InvalidArgumentException
|
* @throws \InvalidArgumentException
|
||||||
* @throws \OutOfBoundsException
|
* @throws \OutOfBoundsException
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
private function insertFieldAce($property, $index, $field, $mask, SecurityIdentityInterface $sid, $granting, $strategy = null)
|
private function insertFieldAce($property, $index, $field, $mask, SecurityIdentityInterface $sid, $granting, $strategy = null)
|
||||||
{
|
{
|
||||||
@ -565,7 +558,6 @@ class Acl implements AuditableAclInterface, NotifyPropertyChanged
|
|||||||
* @param integer $mask
|
* @param integer $mask
|
||||||
* @param string $strategy
|
* @param string $strategy
|
||||||
* @throws \OutOfBoundsException
|
* @throws \OutOfBoundsException
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
private function updateAce($property, $index, $mask, $strategy = null)
|
private function updateAce($property, $index, $mask, $strategy = null)
|
||||||
{
|
{
|
||||||
@ -593,7 +585,6 @@ class Acl implements AuditableAclInterface, NotifyPropertyChanged
|
|||||||
* @param Boolean $auditSuccess
|
* @param Boolean $auditSuccess
|
||||||
* @param Boolean $auditFailure
|
* @param Boolean $auditFailure
|
||||||
* @throws \OutOfBoundsException
|
* @throws \OutOfBoundsException
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
private function updateAuditing(array &$aces, $index, $auditSuccess, $auditFailure)
|
private function updateAuditing(array &$aces, $index, $auditSuccess, $auditFailure)
|
||||||
{
|
{
|
||||||
@ -622,7 +613,6 @@ class Acl implements AuditableAclInterface, NotifyPropertyChanged
|
|||||||
* @param string $strategy
|
* @param string $strategy
|
||||||
* @throws \InvalidArgumentException
|
* @throws \InvalidArgumentException
|
||||||
* @throws \OutOfBoundsException
|
* @throws \OutOfBoundsException
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
private function updateFieldAce($property, $index, $field, $mask, $strategy = null)
|
private function updateFieldAce($property, $index, $field, $mask, $strategy = null)
|
||||||
{
|
{
|
||||||
@ -652,7 +642,6 @@ class Acl implements AuditableAclInterface, NotifyPropertyChanged
|
|||||||
* @param string $name
|
* @param string $name
|
||||||
* @param mixed $oldValue
|
* @param mixed $oldValue
|
||||||
* @param mixed $newValue
|
* @param mixed $newValue
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
private function onPropertyChanged($name, $oldValue, $newValue)
|
private function onPropertyChanged($name, $oldValue, $newValue)
|
||||||
{
|
{
|
||||||
@ -668,7 +657,6 @@ class Acl implements AuditableAclInterface, NotifyPropertyChanged
|
|||||||
* @param string $name
|
* @param string $name
|
||||||
* @param mixed $oldValue
|
* @param mixed $oldValue
|
||||||
* @param mixed $newValue
|
* @param mixed $newValue
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
private function onEntryPropertyChanged(EntryInterface $entry, $name, $oldValue, $newValue)
|
private function onEntryPropertyChanged(EntryInterface $entry, $name, $oldValue, $newValue)
|
||||||
{
|
{
|
||||||
|
@ -32,7 +32,6 @@ class AclCollectionCache
|
|||||||
* @param AclProviderInterface $aclProvider
|
* @param AclProviderInterface $aclProvider
|
||||||
* @param ObjectIdentityRetrievalStrategy $oidRetrievalStrategy
|
* @param ObjectIdentityRetrievalStrategy $oidRetrievalStrategy
|
||||||
* @param SecurityIdentityRetrievalStrategy $sidRetrievalStrategy
|
* @param SecurityIdentityRetrievalStrategy $sidRetrievalStrategy
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
public function __construct(AclProviderInterface $aclProvider, ObjectIdentityRetrievalStrategyInterface $oidRetrievalStrategy, SecurityIdentityRetrievalStrategyInterface $sidRetrievalStrategy)
|
public function __construct(AclProviderInterface $aclProvider, ObjectIdentityRetrievalStrategyInterface $oidRetrievalStrategy, SecurityIdentityRetrievalStrategyInterface $sidRetrievalStrategy)
|
||||||
{
|
{
|
||||||
@ -47,7 +46,6 @@ class AclCollectionCache
|
|||||||
*
|
*
|
||||||
* @param mixed $collection anything that can be passed to foreach()
|
* @param mixed $collection anything that can be passed to foreach()
|
||||||
* @param array $tokens an array of TokenInterface implementations
|
* @param array $tokens an array of TokenInterface implementations
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
public function cache($collection, array $tokens = array())
|
public function cache($collection, array $tokens = array())
|
||||||
{
|
{
|
||||||
|
@ -27,7 +27,6 @@ abstract class AuditLogger implements AuditLoggerInterface
|
|||||||
*
|
*
|
||||||
* @param Boolean $granted
|
* @param Boolean $granted
|
||||||
* @param EntryInterface $ace
|
* @param EntryInterface $ace
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
public function logIfNeeded($granted, EntryInterface $ace)
|
public function logIfNeeded($granted, EntryInterface $ace)
|
||||||
{
|
{
|
||||||
@ -47,7 +46,6 @@ abstract class AuditLogger implements AuditLoggerInterface
|
|||||||
*
|
*
|
||||||
* @param Boolean $granted
|
* @param Boolean $granted
|
||||||
* @param EntryInterface $ace
|
* @param EntryInterface $ace
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
abstract protected function doLog($granted, EntryInterface $ace);
|
abstract protected function doLog($granted, EntryInterface $ace);
|
||||||
}
|
}
|
||||||
|
@ -36,8 +36,6 @@ class DoctrineAclCache implements AclCacheInterface
|
|||||||
* @param Cache $cache
|
* @param Cache $cache
|
||||||
* @param PermissionGrantingStrategyInterface $permissionGrantingStrategy
|
* @param PermissionGrantingStrategyInterface $permissionGrantingStrategy
|
||||||
* @param string $prefix
|
* @param string $prefix
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
public function __construct(Cache $cache, PermissionGrantingStrategyInterface $permissionGrantingStrategy, $prefix = self::PREFIX)
|
public function __construct(Cache $cache, PermissionGrantingStrategyInterface $permissionGrantingStrategy, $prefix = self::PREFIX)
|
||||||
{
|
{
|
||||||
|
@ -127,7 +127,6 @@ class Entry implements AuditableEntryInterface
|
|||||||
* AclInterface instead.
|
* AclInterface instead.
|
||||||
*
|
*
|
||||||
* @param Boolean $boolean
|
* @param Boolean $boolean
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
public function setAuditFailure($boolean)
|
public function setAuditFailure($boolean)
|
||||||
{
|
{
|
||||||
@ -141,7 +140,6 @@ class Entry implements AuditableEntryInterface
|
|||||||
* AclInterface instead.
|
* AclInterface instead.
|
||||||
*
|
*
|
||||||
* @param Boolean $boolean
|
* @param Boolean $boolean
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
public function setAuditSuccess($boolean)
|
public function setAuditSuccess($boolean)
|
||||||
{
|
{
|
||||||
@ -155,7 +153,6 @@ class Entry implements AuditableEntryInterface
|
|||||||
* AclInterface instead.
|
* AclInterface instead.
|
||||||
*
|
*
|
||||||
* @param integer $mask
|
* @param integer $mask
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
public function setMask($mask)
|
public function setMask($mask)
|
||||||
{
|
{
|
||||||
@ -169,7 +166,6 @@ class Entry implements AuditableEntryInterface
|
|||||||
* AclInterface instead.
|
* AclInterface instead.
|
||||||
*
|
*
|
||||||
* @param string $strategy
|
* @param string $strategy
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
public function setStrategy($strategy)
|
public function setStrategy($strategy)
|
||||||
{
|
{
|
||||||
@ -198,7 +194,6 @@ class Entry implements AuditableEntryInterface
|
|||||||
* Implementation of \Serializable
|
* Implementation of \Serializable
|
||||||
*
|
*
|
||||||
* @param string $serialized
|
* @param string $serialized
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
public function unserialize($serialized)
|
public function unserialize($serialized)
|
||||||
{
|
{
|
||||||
|
@ -36,7 +36,6 @@ class FieldEntry extends Entry implements FieldEntryInterface
|
|||||||
* @param Boolean $granting
|
* @param Boolean $granting
|
||||||
* @param Boolean $auditFailure
|
* @param Boolean $auditFailure
|
||||||
* @param Boolean $auditSuccess
|
* @param Boolean $auditSuccess
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
public function __construct($id, AclInterface $acl, $field, SecurityIdentityInterface $sid, $strategy, $mask, $granting, $auditFailure, $auditSuccess)
|
public function __construct($id, AclInterface $acl, $field, SecurityIdentityInterface $sid, $strategy, $mask, $granting, $auditFailure, $auditSuccess)
|
||||||
{
|
{
|
||||||
|
@ -30,7 +30,6 @@ final class ObjectIdentity implements ObjectIdentityInterface
|
|||||||
*
|
*
|
||||||
* @param string $identifier
|
* @param string $identifier
|
||||||
* @param string $type
|
* @param string $type
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
public function __construct($identifier, $type)
|
public function __construct($identifier, $type)
|
||||||
{
|
{
|
||||||
|
@ -36,7 +36,6 @@ class PermissionGrantingStrategy implements PermissionGrantingStrategyInterface
|
|||||||
* Sets the audit logger
|
* Sets the audit logger
|
||||||
*
|
*
|
||||||
* @param AuditLoggerInterface $auditLogger
|
* @param AuditLoggerInterface $auditLogger
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
public function setAuditLogger(AuditLoggerInterface $auditLogger)
|
public function setAuditLogger(AuditLoggerInterface $auditLogger)
|
||||||
{
|
{
|
||||||
|
@ -27,7 +27,6 @@ final class RoleSecurityIdentity implements SecurityIdentityInterface
|
|||||||
* Constructor
|
* Constructor
|
||||||
*
|
*
|
||||||
* @param mixed $role a Role instance, or its string representation
|
* @param mixed $role a Role instance, or its string representation
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
public function __construct($role)
|
public function __construct($role)
|
||||||
{
|
{
|
||||||
|
@ -35,8 +35,6 @@ class SecurityIdentityRetrievalStrategy implements SecurityIdentityRetrievalStra
|
|||||||
*
|
*
|
||||||
* @param RoleHierarchyInterface $roleHierarchy
|
* @param RoleHierarchyInterface $roleHierarchy
|
||||||
* @param AuthenticationTrustResolver $authenticationTrustResolver
|
* @param AuthenticationTrustResolver $authenticationTrustResolver
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
public function __construct(RoleHierarchyInterface $roleHierarchy, AuthenticationTrustResolver $authenticationTrustResolver)
|
public function __construct(RoleHierarchyInterface $roleHierarchy, AuthenticationTrustResolver $authenticationTrustResolver)
|
||||||
{
|
{
|
||||||
|
@ -28,7 +28,6 @@ class NotAllAclsFoundException extends AclNotFoundException
|
|||||||
* Sets the partial result
|
* Sets the partial result
|
||||||
*
|
*
|
||||||
* @param \SplObjectStorage $result
|
* @param \SplObjectStorage $result
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
public function setPartialResult(\SplObjectStorage $result)
|
public function setPartialResult(\SplObjectStorage $result)
|
||||||
{
|
{
|
||||||
|
@ -22,7 +22,6 @@ interface AclCacheInterface
|
|||||||
* Removes an ACL from the cache
|
* Removes an ACL from the cache
|
||||||
*
|
*
|
||||||
* @param string $primaryKey a serialized primary key
|
* @param string $primaryKey a serialized primary key
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
function evictFromCacheById($primaryKey);
|
function evictFromCacheById($primaryKey);
|
||||||
|
|
||||||
@ -32,7 +31,6 @@ interface AclCacheInterface
|
|||||||
* The ACL which is returned, must reference the passed object identity.
|
* The ACL which is returned, must reference the passed object identity.
|
||||||
*
|
*
|
||||||
* @param ObjectIdentityInterface $oid
|
* @param ObjectIdentityInterface $oid
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
function evictFromCacheByIdentity(ObjectIdentityInterface $oid);
|
function evictFromCacheByIdentity(ObjectIdentityInterface $oid);
|
||||||
|
|
||||||
@ -56,14 +54,11 @@ interface AclCacheInterface
|
|||||||
* Stores a new ACL in the cache
|
* Stores a new ACL in the cache
|
||||||
*
|
*
|
||||||
* @param AclInterface $acl
|
* @param AclInterface $acl
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
function putInCache(AclInterface $acl);
|
function putInCache(AclInterface $acl);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Removes all ACLs from the cache
|
* Removes all ACLs from the cache
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
function clearCache();
|
function clearCache();
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,6 @@ interface AuditLoggerInterface
|
|||||||
*
|
*
|
||||||
* @param Boolean $granted
|
* @param Boolean $granted
|
||||||
* @param EntryInterface $ace
|
* @param EntryInterface $ace
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
function logIfNeeded($granted, EntryInterface $ace);
|
function logIfNeeded($granted, EntryInterface $ace);
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,6 @@ interface AuditableAclInterface extends MutableAclInterface
|
|||||||
* @param integer $index
|
* @param integer $index
|
||||||
* @param Boolean $auditSuccess
|
* @param Boolean $auditSuccess
|
||||||
* @param Boolean $auditFailure
|
* @param Boolean $auditFailure
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
function updateClassAuditing($index, $auditSuccess, $auditFailure);
|
function updateClassAuditing($index, $auditSuccess, $auditFailure);
|
||||||
|
|
||||||
@ -35,9 +34,7 @@ interface AuditableAclInterface extends MutableAclInterface
|
|||||||
* @param string $field
|
* @param string $field
|
||||||
* @param Boolean $auditSuccess
|
* @param Boolean $auditSuccess
|
||||||
* @param Boolean $auditFailure
|
* @param Boolean $auditFailure
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
function updateClassFieldAuditing($index, $field, $auditSuccess, $auditFailure);
|
function updateClassFieldAuditing($index, $field, $auditSuccess, $auditFailure);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -46,7 +43,6 @@ interface AuditableAclInterface extends MutableAclInterface
|
|||||||
* @param integer $index
|
* @param integer $index
|
||||||
* @param Boolean $auditSuccess
|
* @param Boolean $auditSuccess
|
||||||
* @param Boolean $auditFailure
|
* @param Boolean $auditFailure
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
function updateObjectAuditing($index, $auditSuccess, $auditFailure);
|
function updateObjectAuditing($index, $auditSuccess, $auditFailure);
|
||||||
|
|
||||||
@ -57,7 +53,6 @@ interface AuditableAclInterface extends MutableAclInterface
|
|||||||
* @param string $field
|
* @param string $field
|
||||||
* @param Boolean $auditSuccess
|
* @param Boolean $auditSuccess
|
||||||
* @param Boolean $auditFailure
|
* @param Boolean $auditFailure
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
function updateObjectFieldAuditing($index, $field, $auditSuccess, $auditFailure);
|
function updateObjectFieldAuditing($index, $field, $auditSuccess, $auditFailure);
|
||||||
}
|
}
|
||||||
|
@ -25,7 +25,6 @@ interface MutableAclInterface extends AclInterface
|
|||||||
* Deletes a class-based ACE
|
* Deletes a class-based ACE
|
||||||
*
|
*
|
||||||
* @param integer $index
|
* @param integer $index
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
function deleteClassAce($index);
|
function deleteClassAce($index);
|
||||||
|
|
||||||
@ -34,7 +33,6 @@ interface MutableAclInterface extends AclInterface
|
|||||||
*
|
*
|
||||||
* @param integer $index
|
* @param integer $index
|
||||||
* @param string $field
|
* @param string $field
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
function deleteClassFieldAce($index, $field);
|
function deleteClassFieldAce($index, $field);
|
||||||
|
|
||||||
@ -42,7 +40,6 @@ interface MutableAclInterface extends AclInterface
|
|||||||
* Deletes an object-based ACE
|
* Deletes an object-based ACE
|
||||||
*
|
*
|
||||||
* @param integer $index
|
* @param integer $index
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
function deleteObjectAce($index);
|
function deleteObjectAce($index);
|
||||||
|
|
||||||
@ -51,7 +48,6 @@ interface MutableAclInterface extends AclInterface
|
|||||||
*
|
*
|
||||||
* @param integer $index
|
* @param integer $index
|
||||||
* @param string $field
|
* @param string $field
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
function deleteObjectFieldAce($index, $field);
|
function deleteObjectFieldAce($index, $field);
|
||||||
|
|
||||||
@ -70,7 +66,6 @@ interface MutableAclInterface extends AclInterface
|
|||||||
* @param integer $index
|
* @param integer $index
|
||||||
* @param Boolean $granting
|
* @param Boolean $granting
|
||||||
* @param string $strategy
|
* @param string $strategy
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
function insertClassAce(SecurityIdentityInterface $sid, $mask, $index = 0, $granting = true, $strategy = null);
|
function insertClassAce(SecurityIdentityInterface $sid, $mask, $index = 0, $granting = true, $strategy = null);
|
||||||
|
|
||||||
@ -83,7 +78,6 @@ interface MutableAclInterface extends AclInterface
|
|||||||
* @param integer $index
|
* @param integer $index
|
||||||
* @param Boolean $granting
|
* @param Boolean $granting
|
||||||
* @param string $strategy
|
* @param string $strategy
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
function insertClassFieldAce($field, SecurityIdentityInterface $sid, $mask, $index = 0, $granting = true, $strategy = null);
|
function insertClassFieldAce($field, SecurityIdentityInterface $sid, $mask, $index = 0, $granting = true, $strategy = null);
|
||||||
|
|
||||||
@ -95,7 +89,6 @@ interface MutableAclInterface extends AclInterface
|
|||||||
* @param integer $index
|
* @param integer $index
|
||||||
* @param Boolean $granting
|
* @param Boolean $granting
|
||||||
* @param string $strategy
|
* @param string $strategy
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
function insertObjectAce(SecurityIdentityInterface $sid, $mask, $index = 0, $granting = true, $strategy = null);
|
function insertObjectAce(SecurityIdentityInterface $sid, $mask, $index = 0, $granting = true, $strategy = null);
|
||||||
|
|
||||||
@ -108,7 +101,6 @@ interface MutableAclInterface extends AclInterface
|
|||||||
* @param integer $index
|
* @param integer $index
|
||||||
* @param Boolean $granting
|
* @param Boolean $granting
|
||||||
* @param string $strategy
|
* @param string $strategy
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
function insertObjectFieldAce($field, SecurityIdentityInterface $sid, $mask, $index = 0, $granting = true, $strategy = null);
|
function insertObjectFieldAce($field, SecurityIdentityInterface $sid, $mask, $index = 0, $granting = true, $strategy = null);
|
||||||
|
|
||||||
@ -116,7 +108,6 @@ interface MutableAclInterface extends AclInterface
|
|||||||
* Sets whether entries are inherited
|
* Sets whether entries are inherited
|
||||||
*
|
*
|
||||||
* @param Boolean $boolean
|
* @param Boolean $boolean
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
function setEntriesInheriting($boolean);
|
function setEntriesInheriting($boolean);
|
||||||
|
|
||||||
@ -124,7 +115,6 @@ interface MutableAclInterface extends AclInterface
|
|||||||
* Sets the parent ACL
|
* Sets the parent ACL
|
||||||
*
|
*
|
||||||
* @param AclInterface $acl
|
* @param AclInterface $acl
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
function setParentAcl(AclInterface $acl);
|
function setParentAcl(AclInterface $acl);
|
||||||
|
|
||||||
@ -134,7 +124,6 @@ interface MutableAclInterface extends AclInterface
|
|||||||
* @param integer $index
|
* @param integer $index
|
||||||
* @param integer $mask
|
* @param integer $mask
|
||||||
* @param string $strategy if null the strategy should not be changed
|
* @param string $strategy if null the strategy should not be changed
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
function updateClassAce($index, $mask, $strategy = null);
|
function updateClassAce($index, $mask, $strategy = null);
|
||||||
|
|
||||||
@ -145,7 +134,6 @@ interface MutableAclInterface extends AclInterface
|
|||||||
* @param string $field
|
* @param string $field
|
||||||
* @param integer $mask
|
* @param integer $mask
|
||||||
* @param string $strategy if null the strategy should not be changed
|
* @param string $strategy if null the strategy should not be changed
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
function updateClassFieldAce($index, $field, $mask, $strategy = null);
|
function updateClassFieldAce($index, $field, $mask, $strategy = null);
|
||||||
|
|
||||||
@ -155,7 +143,6 @@ interface MutableAclInterface extends AclInterface
|
|||||||
* @param integer $index
|
* @param integer $index
|
||||||
* @param integer $mask
|
* @param integer $mask
|
||||||
* @param string $strategy if null the strategy should not be changed
|
* @param string $strategy if null the strategy should not be changed
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
function updateObjectAce($index, $mask, $strategy = null);
|
function updateObjectAce($index, $mask, $strategy = null);
|
||||||
|
|
||||||
@ -166,7 +153,6 @@ interface MutableAclInterface extends AclInterface
|
|||||||
* @param string $field
|
* @param string $field
|
||||||
* @param integer $mask
|
* @param integer $mask
|
||||||
* @param string $strategy if null the strategy should not be changed
|
* @param string $strategy if null the strategy should not be changed
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
function updateObjectFieldAce($index, $field, $mask, $strategy = null);
|
function updateObjectFieldAce($index, $field, $mask, $strategy = null);
|
||||||
}
|
}
|
||||||
|
@ -35,7 +35,6 @@ interface MutableAclProviderInterface extends AclProviderInterface
|
|||||||
* want child ACLs to be deleted, you will have to set their parent ACL to null.
|
* want child ACLs to be deleted, you will have to set their parent ACL to null.
|
||||||
*
|
*
|
||||||
* @param ObjectIdentityInterface $oid
|
* @param ObjectIdentityInterface $oid
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
function deleteAcl(ObjectIdentityInterface $oid);
|
function deleteAcl(ObjectIdentityInterface $oid);
|
||||||
|
|
||||||
@ -46,7 +45,6 @@ interface MutableAclProviderInterface extends AclProviderInterface
|
|||||||
* Changes to parent ACLs are not persisted.
|
* Changes to parent ACLs are not persisted.
|
||||||
*
|
*
|
||||||
* @param MutableAclInterface $acl
|
* @param MutableAclInterface $acl
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
function updateAcl(MutableAclInterface $acl);
|
function updateAcl(MutableAclInterface $acl);
|
||||||
}
|
}
|
||||||
|
@ -25,7 +25,6 @@ interface SecurityIdentityInterface
|
|||||||
* not rely on referential equality.
|
* not rely on referential equality.
|
||||||
*
|
*
|
||||||
* @param SecurityIdentityInterface $identity
|
* @param SecurityIdentityInterface $identity
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
function equals(SecurityIdentityInterface $identity);
|
function equals(SecurityIdentityInterface $identity);
|
||||||
}
|
}
|
||||||
|
@ -73,7 +73,6 @@ class MaskBuilder
|
|||||||
* Constructor
|
* Constructor
|
||||||
*
|
*
|
||||||
* @param integer $mask optional; defaults to 0
|
* @param integer $mask optional; defaults to 0
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
public function __construct($mask = 0)
|
public function __construct($mask = 0)
|
||||||
{
|
{
|
||||||
|
@ -28,8 +28,6 @@ class AuthenticationTrustResolver implements AuthenticationTrustResolverInterfac
|
|||||||
*
|
*
|
||||||
* @param string $anonymousClass
|
* @param string $anonymousClass
|
||||||
* @param string $rememberMeClass
|
* @param string $rememberMeClass
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
public function __construct($anonymousClass, $rememberMeClass)
|
public function __construct($anonymousClass, $rememberMeClass)
|
||||||
{
|
{
|
||||||
|
@ -35,8 +35,6 @@ class AuthenticatedVoter implements VoterInterface
|
|||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
* @param AuthenticationTrustResolverInterface $authenticationTrustResolver
|
* @param AuthenticationTrustResolverInterface $authenticationTrustResolver
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
public function __construct(AuthenticationTrustResolverInterface $authenticationTrustResolver)
|
public function __construct(AuthenticationTrustResolverInterface $authenticationTrustResolver)
|
||||||
{
|
{
|
||||||
|
@ -35,7 +35,6 @@ interface SecurityContextInterface
|
|||||||
* Sets the authentication token.
|
* Sets the authentication token.
|
||||||
*
|
*
|
||||||
* @param TokenInterface $token
|
* @param TokenInterface $token
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
function setToken(TokenInterface $token = null);
|
function setToken(TokenInterface $token = null);
|
||||||
|
|
||||||
|
@ -48,8 +48,6 @@ interface UserInterface
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Removes sensitive data from the user.
|
* Removes sensitive data from the user.
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
function eraseCredentials();
|
function eraseCredentials();
|
||||||
|
|
||||||
|
@ -57,7 +57,6 @@ class LogoutListener implements ListenerInterface
|
|||||||
* Adds a logout handler
|
* Adds a logout handler
|
||||||
*
|
*
|
||||||
* @param LogoutHandlerInterface $handler
|
* @param LogoutHandlerInterface $handler
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
public function addHandler(LogoutHandlerInterface $handler)
|
public function addHandler(LogoutHandlerInterface $handler)
|
||||||
{
|
{
|
||||||
|
@ -39,7 +39,6 @@ class CookieClearingLogoutHandler implements LogoutHandlerInterface
|
|||||||
* @param Request $request
|
* @param Request $request
|
||||||
* @param Response $response
|
* @param Response $response
|
||||||
* @param TokenInterface $token
|
* @param TokenInterface $token
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
public function logout(Request $request, Response $response, TokenInterface $token)
|
public function logout(Request $request, Response $response, TokenInterface $token)
|
||||||
{
|
{
|
||||||
|
@ -30,7 +30,6 @@ interface LogoutHandlerInterface
|
|||||||
* @param Request $request
|
* @param Request $request
|
||||||
* @param Response $response
|
* @param Response $response
|
||||||
* @param TokenInterface $token
|
* @param TokenInterface $token
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
function logout(Request $request, Response $response, TokenInterface $token);
|
function logout(Request $request, Response $response, TokenInterface $token);
|
||||||
}
|
}
|
||||||
|
@ -28,7 +28,6 @@ class SessionLogoutHandler implements LogoutHandlerInterface
|
|||||||
* @param Request $request
|
* @param Request $request
|
||||||
* @param Response $response
|
* @param Response $response
|
||||||
* @param TokenInterface $token
|
* @param TokenInterface $token
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
public function logout(Request $request, Response $response, TokenInterface $token)
|
public function logout(Request $request, Response $response, TokenInterface $token)
|
||||||
{
|
{
|
||||||
|
@ -145,7 +145,6 @@ abstract class AbstractRememberMeServices implements RememberMeServicesInterface
|
|||||||
* @param Request $request
|
* @param Request $request
|
||||||
* @param Response $response
|
* @param Response $response
|
||||||
* @param TokenInterface $token
|
* @param TokenInterface $token
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
public function logout(Request $request, Response $response, TokenInterface $token)
|
public function logout(Request $request, Response $response, TokenInterface $token)
|
||||||
{
|
{
|
||||||
@ -157,7 +156,6 @@ abstract class AbstractRememberMeServices implements RememberMeServicesInterface
|
|||||||
* an attempted authentication fails.
|
* an attempted authentication fails.
|
||||||
*
|
*
|
||||||
* @param Request $request
|
* @param Request $request
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
public final function loginFail(Request $request)
|
public final function loginFail(Request $request)
|
||||||
{
|
{
|
||||||
@ -172,7 +170,6 @@ abstract class AbstractRememberMeServices implements RememberMeServicesInterface
|
|||||||
* @param Request $request
|
* @param Request $request
|
||||||
* @param Response $response
|
* @param Response $response
|
||||||
* @param TokenInterface $token The token that resulted in a successful authentication
|
* @param TokenInterface $token The token that resulted in a successful authentication
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
public final function loginSuccess(Request $request, Response $response, TokenInterface $token)
|
public final function loginSuccess(Request $request, Response $response, TokenInterface $token)
|
||||||
{
|
{
|
||||||
@ -221,7 +218,6 @@ abstract class AbstractRememberMeServices implements RememberMeServicesInterface
|
|||||||
* @param Request $request
|
* @param Request $request
|
||||||
* @param Response $response
|
* @param Response $response
|
||||||
* @param TokenInterface $token
|
* @param TokenInterface $token
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
abstract protected function onLoginSuccess(Request $request, Response $response, TokenInterface $token);
|
abstract protected function onLoginSuccess(Request $request, Response $response, TokenInterface $token);
|
||||||
|
|
||||||
@ -262,7 +258,6 @@ abstract class AbstractRememberMeServices implements RememberMeServicesInterface
|
|||||||
* Deletes the remember-me cookie
|
* Deletes the remember-me cookie
|
||||||
*
|
*
|
||||||
* @param Request $request
|
* @param Request $request
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
protected function cancelCookie(Request $request)
|
protected function cancelCookie(Request $request)
|
||||||
{
|
{
|
||||||
|
@ -36,7 +36,6 @@ class PersistentTokenBasedRememberMeServices extends AbstractRememberMeServices
|
|||||||
* Sets the token provider
|
* Sets the token provider
|
||||||
*
|
*
|
||||||
* @param TokenProviderInterface $tokenProvider
|
* @param TokenProviderInterface $tokenProvider
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
public function setTokenProvider(TokenProviderInterface $tokenProvider)
|
public function setTokenProvider(TokenProviderInterface $tokenProvider)
|
||||||
{
|
{
|
||||||
|
@ -59,7 +59,6 @@ interface RememberMeServicesInterface
|
|||||||
* This method needs to take care of invalidating the cookie.
|
* This method needs to take care of invalidating the cookie.
|
||||||
*
|
*
|
||||||
* @param Request $request
|
* @param Request $request
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
function loginFail(Request $request);
|
function loginFail(Request $request);
|
||||||
|
|
||||||
@ -77,7 +76,6 @@ interface RememberMeServicesInterface
|
|||||||
* @param Request $request
|
* @param Request $request
|
||||||
* @param Response $response
|
* @param Response $response
|
||||||
* @param TokenInterface $token
|
* @param TokenInterface $token
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
function loginSuccess(Request $request, Response $response, TokenInterface $token);
|
function loginSuccess(Request $request, Response $response, TokenInterface $token);
|
||||||
}
|
}
|
||||||
|
@ -32,8 +32,6 @@ interface SessionAuthenticationStrategyInterface
|
|||||||
*
|
*
|
||||||
* @param Request $request
|
* @param Request $request
|
||||||
* @param TokenInterface $token
|
* @param TokenInterface $token
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
function onAuthentication(Request $request, TokenInterface $token);
|
function onAuthentication(Request $request, TokenInterface $token);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user