ActionsExtension deprecated::getTokenParsers()

array getTokenParsers() Returns the token parser instance to add to the existing list. Return Value array An array of \Twig_TokenParser instances

ActionsExtension deprecated::getName()

getName() {@inheritdoc}

ActionsExtension deprecated

class ActionsExtension extends Twig_Extension deprecated since version 2.2, to be removed in 3.0. Twig extension for Symfony actions helper. Methods __construct(FragmentHandler|ContainerInterface $handler) deprecated renderUri(string $uri, array $options = array()) Returns the Response content for a given URI. array getTokenParsers() Returns the token parser instance to add to the existing list. getName() {@inheritdoc} Details __constr

AclVoter::vote()

int vote(TokenInterface $token, object|null $object, array $attributes) Returns the vote for the given parameters. This method must return one of the following constants: ACCESSGRANTED, ACCESSDENIED, or ACCESS_ABSTAIN. Parameters TokenInterface $token A TokenInterface instance object|null $object The object to secure array $attributes An array of attributes associated with the method being invoked Return Value int either ACCESSGRANTED, ACCESSABSTAIN, or ACCESS_DENIED

AclVoter::supportsClass()

bool supportsClass(string $class) You can override this method when writing a voter for a specific domain class. Parameters string $class A class name Return Value bool true if this Voter can process the class

AclVoter::supportsAttribute()

bool supportsAttribute(string $attribute) Checks if the voter supports the given attribute. Parameters string $attribute An attribute Return Value bool true if this Voter supports the attribute, false otherwise

AclVoter

class AclVoter implements VoterInterface This voter can be used as a base class for implementing your own permissions. Methods __construct(AclProviderInterface $aclProvider, ObjectIdentityRetrievalStrategyInterface $oidRetrievalStrategy, SecurityIdentityRetrievalStrategyInterface $sidRetrievalStrategy, PermissionMapInterface $permissionMap, LoggerInterface $logger = null, $allowIfObjectIdentityUnavailable = true) bool supportsAttribute(string $attribute) Checks if the voter support

AclSchemaListener

class AclSchemaListener Merges ACL schema into the given schema. Methods __construct(Schema $schema) postGenerateSchema(GenerateSchemaEventArgs $args) Details __construct(Schema $schema) Parameters Schema $schema postGenerateSchema(GenerateSchemaEventArgs $args) Parameters GenerateSchemaEventArgs $args

AclProviderInterface::findChildren()

array findChildren(ObjectIdentityInterface $parentOid, bool $directChildrenOnly = false) Retrieves all child object identities from the database Parameters ObjectIdentityInterface $parentOid bool $directChildrenOnly Return Value array returns an array of child 'ObjectIdentity's

AclProviderInterface::findAcls()

SplObjectStorage findAcls(array $oids, array $sids = array()) Returns the ACLs that belong to the given object identities Parameters array $oids an array of ObjectIdentityInterface implementations array $sids an array of SecurityIdentityInterface implementations Return Value SplObjectStorage mapping the passed object identities to ACLs Exceptions AclNotFoundException when we cannot find an ACL for all identities