LegacyExecutionContext deprecated

class LegacyExecutionContext extends ExecutionContext deprecated since version 2.5, to be removed in 3.0. An execution context that is compatible with the legacy API (< 2.5). Methods __construct(ValidatorInterface $validator, mixed $root, MetadataFactoryInterface $metadataFactory, TranslatorInterface $translator, string|null $translationDomain = null) Creates a new context. setNode(mixed $value, object|null $object, MetadataInterface $metadata = null, string $propertyPath) Se

DumperInterface::getProxyCode()

string getProxyCode(Definition $definition) Generates the code for the lazy proxy. Parameters Definition $definition Return Value string

Hour2401Transformer

class Hour2401Transformer extends HourTransformer Parser and formatter for 24 hour format (1-24). Methods string format(DateTime $dateTime, int $length) Format a value using a configured DateTime as date/time source. string getReverseMatchingRegExp(int $length) Returns a reverse matching regular expression of a string generated by format(). array extractDateOptions(string $matched, int $length) Extract date options from a matched value returned by the processing of the reverse

NullLogger::crit()

crit($message, array $context = array()) Parameters $message array $context

Transformer deprecated

class Transformer extends Transformer deprecated since version 2.3, to be removed in 3.0. Use {@link \Symfony\Component\Intl\DateFormatter\DateFormat\Transformer} instead. Alias of {@link \Symfony\Component\Intl\DateFormatter\DateFormat\Transformer}. Methods string format(DateTime $dateTime, int $length) Format a value using a configured DateTime as date/time source. from Transformer string getReverseMatchingRegExp(int $length) Returns a reverse matching regular expression of a s

AssetsExtension deprecated::getAssetsVersion()

int getAssetsVersion(string $packageName = null) Returns the version of the assets in a package. Parameters string $packageName Return Value int

XmlFilesLoader

class XmlFilesLoader extends FilesLoader Loads validation metadata from a list of XML files. Methods __construct(array $paths) Creates a new loader. from FilesLoader bool loadClassMetadata(ClassMetadata $metadata) Loads validation metadata into a {@link ClassMetadata} instance. from LoaderChain getFileLoaderInstance($file) {@inheritdoc} Details __construct(array $paths) Creates a new loader. Parameters array $paths An array of file p

HelperInterface

interface HelperInterface HelperInterface is the interface all helpers must implement. Methods string getName() Returns the canonical name of this helper. setCharset(string $charset) Sets the default charset. string getCharset() Gets the default charset. Details string getName() Returns the canonical name of this helper. Return Value string The canonical name setCharset(string $charset) Set

NumericNodeDefinition::cannotBeEmpty()

NodeDefinition|$this cannotBeEmpty() Denies the node value being empty. Return Value NodeDefinition|$this

LoaderResolver

class LoaderResolver implements LoaderResolverInterface LoaderResolver selects a loader for a given resource. A resource can be anything (e.g. a full path to a config file or a Closure). Each loader determines whether it can load a resource and how. Methods __construct(array $loaders = array()) Constructor. LoaderInterface|false resolve(mixed $resource, string|null $type = null) Returns a loader able to load the resource. addLoader(LoaderInterface $loader) Adds a loader. Loa