DefinitionDecorator::setDecoratedService()

Definition setDecoratedService(null|string $id, null|string $renamedId = null, int $priority) Sets the service that this service is decorating. Parameters null|string $id The decorated service id, use null to remove decoration null|string $renamedId The new decorated service id int $priority The priority of decoration Return Value Definition The current instance Exceptions InvalidArgumentException In case the decorated service id and the new decorated service id are equals.

ArrayNode::setPerformDeepMerging()

setPerformDeepMerging(bool $boolean) Sets if deep merging should occur. Parameters bool $boolean

UrlMatcher::getContext()

RequestContext getContext() Gets the request context. Return Value RequestContext The context

FilePathsIterator deprecated::rewind()

rewind()

Route::setCondition()

Route setCondition(string $condition) Sets the condition. This method implements a fluent interface. Parameters string $condition The condition Return Value Route The current Route instance

MaskBuilder

class MaskBuilder This class allows you to build cumulative permissions easily, or convert masks to a human-readable format. $builder = new MaskBuilder(); $builder ->add('view') ->add('create') ->add('edit') ; vardump($builder->get()); // int(7) vardump($builder->getPattern()); // string(32) ".............................ECV" We have defined some commonly used base permissions which you can use: - VIEW: the S

Reference

class Reference Reference represents a service reference. Methods __construct(string $id, int $invalidBehavior = ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE) string __toString() int getInvalidBehavior() Returns the behavior to be used when the service does not exist. Details __construct(string $id, int $invalidBehavior = ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE) Parameters string $id The service identifier int $inv

FilterControllerArgumentsEvent::getArguments()

array getArguments() Return Value array

ExtensionInterface::getAttributeMatchingTranslators()

callable[] getAttributeMatchingTranslators() Returns attribute operation translators. Return Value callable[]

PermissionMapInterface

interface PermissionMapInterface This is the interface that must be implemented by permission maps. Methods array getMasks(string $permission, object $object) Returns an array of bitmasks. bool contains(string $permission) Whether this map contains the given permission Details array getMasks(string $permission, object $object) Returns an array of bitmasks. The security identity must have been granted access to at least one of these bitmask