FullTransformer::getReverseMatchingRegExp()

string getReverseMatchingRegExp(string $pattern) Retrieve a regular expression to match with a formatted value. Parameters string $pattern The pattern to create the reverse matching regular expression Return Value string The reverse matching regular expression with named captures being formed by the transformer index in the $transformer array

FullTransformer::formatReplace()

string formatReplace(string $dateChars, DateTime $dateTime) Return the formatted ICU value for the matched date characters. Parameters string $dateChars The date characters to be replaced with a formatted ICU value DateTime $dateTime A DateTime object to be used to generate the formatted value Return Value string The formatted value Exceptions NotImplementedException When it encounters a not implemented date character

FullTransformer::format()

string format(DateTime $dateTime) Format a DateTime using ICU dateformat pattern. Parameters DateTime $dateTime A DateTime object to be used to generate the formatted value Return Value string The formatted value

FullTransformer deprecated

class FullTransformer extends FullTransformer deprecated since version 2.3, to be removed in 3.0. Use {@link \Symfony\Component\Intl\DateFormatter\DateFormat\FullTransformer} instead. Alias of {@link \Symfony\Component\Intl\DateFormatter\DateFormat\FullTransformer}. Methods __construct(string $pattern, string $timezone) Constructor. from FullTransformer Transformer[] getTransformers() Return the array of Transformer objects. from FullTransformer string format(DateTime $dateTi

FullTransformer

class FullTransformer Parser and formatter for date formats. Methods __construct(string $pattern, string $timezone) Constructor. Transformer[] getTransformers() Return the array of Transformer objects. string format(DateTime $dateTime) Format a DateTime using ICU dateformat pattern. string formatReplace(string $dateChars, DateTime $dateTime) Return the formatted ICU value for the matched date characters. int parse(DateTime $dateTime, string $value) Parse a pattern bas

FrozenParameterBag::remove()

remove(string $name) Removes a parameter. Parameters string $name The parameter name

FrozenParameterBag::clear()

clear() Clears all parameters.

FrozenParameterBag::add()

add(array $parameters) Adds parameters to the service container parameters. Parameters array $parameters An array of parameters

FrozenParameterBag

class FrozenParameterBag extends ParameterBag Holds read-only parameters. Methods __construct(array $parameters = array()) For performance reasons, the constructor assumes that all keys are already lowercased. clear() Clears all parameters. add(array $parameters) Adds parameters to the service container parameters. array all() Gets the service container parameters. from ParameterBag mixed get(string $name) Gets a service container parameter. from ParameterBag set(s

FrameworkExtension::load()

load(array $configs, ContainerBuilder $container) Responds to the app.config configuration parameter. Parameters array $configs An array of configuration values ContainerBuilder $container A ContainerBuilder instance Exceptions LogicException