Role

class Role implements RoleInterface Role is a simple implementation of a RoleInterface where the role is a string. Methods __construct(string $role) Constructor. string|null getRole() Returns the role. Details __construct(string $role) Constructor. Parameters string $role The role name string|null getRole() Returns the role. This method returns a string representation whenever possible. When the

TransformationRuleInterface::afterCreateStub()

afterCreateStub(StubbingContextInterface $context) Runs instructions to be executed after creating the stub version of the resource bundle. Parameters StubbingContextInterface $context The contextual information of the compilation.

OptionsResolverInterface deprecated::addAllowedValues()

OptionsResolverInterface addAllowedValues(array $allowedValues) Adds allowed values for a list of options. The values are merged with the allowed values defined previously. Parameters array $allowedValues A list of option names as keys and arrays with values acceptable for that option as values. Return Value OptionsResolverInterface The resolver instance. Exceptions InvalidOptionsException If an option has not been defined (see {@link isKnown()}) for which an allowed value is

ValidateRequestListener

class ValidateRequestListener implements EventSubscriberInterface Validates that the headers and other information indicating the client IP address of a request are consistent. Methods onKernelRequest(GetResponseEvent $event) Performs the validation. static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. Details onKernelRequest(GetResponseEvent $event) Performs the validation. Parameters G

AddCacheWarmerPass

class AddCacheWarmerPass implements CompilerPassInterface Registers the cache warmers. Methods process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Details process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Parameters ContainerBuilder $container

CallbackTransformer::transform()

mixed transform(mixed $data) Transforms a value from the original representation to a transformed representation. Parameters mixed $data The value in the original representation Return Value mixed The value in the transformed representation Exceptions UnexpectedTypeException when the argument is not of the expected type TransformationFailedException when the transformation fails

NotImplementedException deprecated

class NotImplementedException extends NotImplementedException deprecated since version 2.3, to be removed in 3.0. Use {@link \Symfony\Component\Intl\Exception\NotImplementedException} instead. Alias of {@link \Symfony\Component\Intl\Exception\NotImplementedException}. Constants INTL_INSTALL_MESSAGE Methods __construct(string $message) Constructor. from NotImplementedException Details __construct(string $message) Constructor. Paramet

ReflectionExtractor::getProperties()

string[]|null getProperties(string $class, array $context = array()) Gets the list of properties available for the given class. Parameters string $class array $context Return Value string[]|null

Type::getCollectionValueType()

Type|null getCollectionValueType() Gets collection value type. Only applicable for a collection type. Return Value Type|null

BaseNode::finalize()

final mixed finalize(mixed $value) Finalizes a value, applying all finalization closures. Parameters mixed $value The value to finalize Return Value mixed The finalized value Exceptions Exception InvalidConfigurationException