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

ActionsExtension deprecated::getName()

getName() {@inheritdoc}

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::renderUri()

renderUri(string $uri, array $options = array()) Returns the Response content for a given URI. Parameters string $uri A URI array $options An array of options See also FragmentHandler::render()

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

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

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

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::findAcl()

AclInterface findAcl(ObjectIdentityInterface $oid, array $sids = array()) Returns the ACL that belongs to the given object identity Parameters ObjectIdentityInterface $oid array $sids Return Value AclInterface Exceptions AclNotFoundException when there is no ACL