Form::getTransformationFailure()

TransformationFailedException|null getTransformationFailure() Returns the data transformation failure, if any. Return Value TransformationFailedException|null The transformation failure

Regex::create()

static Regex create(string $expr) Parameters string $expr Return Value Regex Exceptions InvalidArgumentException

MockArraySessionStorage::save()

save() Force the session to be saved and closed. This method must invoke sessionwriteclose() unless this interface is used for a storage object design for unit or functional testing where a real PHP session would interfere with testing, in which case it should actually persist the session data if required. Exceptions RuntimeException If the session is saved without being started, or if the session is already closed.

RouteCollection::addCollection()

addCollection(RouteCollection $collection) Adds a route collection at the end of the current set by appending all routes of the added collection. Parameters RouteCollection $collection A RouteCollection instance

Bridge\Doctrine\PropertyInfo

Classes DoctrineExtractor Extracts data using Doctrine ORM and ODM metadata.

Serializer::supportsDenormalization()

bool supportsDenormalization(mixed $data, string $type, string $format = null) Checks whether the given class is supported for denormalization by this normalizer. Parameters mixed $data Data to denormalize from. string $type The class to which the data should be denormalized. string $format The format being deserialized from. Return Value bool

Regex::setStartJoker()

Regex setStartJoker(bool $startJoker) Parameters bool $startJoker Return Value Regex

BlackholeMetadataFactory deprecated

class BlackholeMetadataFactory extends BlackHoleMetadataFactory deprecated since version 2.5, to be removed in 3.0. Use {@link Factory\BlackHoleMetadataFactory} instead. Alias of {@link Factory\BlackHoleMetadataFactory}. Methods MetadataInterface getMetadataFor(mixed $value) Returns the metadata for the given value. from BlackHoleMetadataFactory bool hasMetadataFor(mixed $value) Returns whether the class is able to return metadata for the given value. from BlackHoleMetadataFacto

FormTypeExtensionInterface::configureOptions()

configureOptions(OptionsResolver $resolver) Configures the options for this type. Parameters OptionsResolver $resolver The resolver for the options

TranslatorListener

class TranslatorListener implements EventSubscriberInterface Synchronizes the locale between the request and the translator. Methods __construct(TranslatorInterface $translator, RequestStack $requestStack) onKernelRequest(GetResponseEvent $event) onKernelFinishRequest(FinishRequestEvent $event) static array getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. Details __construct(TranslatorInterface $t