Route::unserialize()

unserialize($serialized) {@inheritdoc} Parameters $serialized

Component\CssSelector

Namespaces Symfony\Component\CssSelector\ExceptionSymfony\Component\CssSelector\NodeSymfony\Component\CssSelector\ParserSymfony\Component\CssSelector\XPath Classes CssSelector CssSelector is the main entry point of the component and can convert CSS selectors to XPath expressions.

Application::getDefinition()

InputDefinition getDefinition() Gets the InputDefinition related to this Application. Return Value InputDefinition The InputDefinition instance

OptionsResolverInterface deprecated::isRequired()

bool isRequired(string $option) Returns whether an option is required. An option is required if it has been passed to {@link setRequired()}, but not to {@link setDefaults()}. That is, the option has been declared as required and no default value has been set. Parameters string $option The name of the option. Return Value bool Whether the option is required.

ChoiceListInterface deprecated::getChoices()

array getChoices() Returns the list of choices. Return Value array The choices with their indices as keys

Definition::addArgument()

Definition addArgument(mixed $argument) Adds an argument to pass to the service constructor/factory method. Parameters mixed $argument An argument Return Value Definition The current instance

AssetsHelper deprecated

class AssetsHelper extends CoreAssetsHelper deprecated since 2.7, will be removed in 3.0. Use the Asset component instead. AssetsHelper helps manage asset URLs. Usage: Methods setCharset(string $charset) Sets the default charset. from Helper string getCharset() Gets the default charset. from Helper __construct(string $basePath = null, string|array $baseUrls = array(), string $version = null, string $format = null, array $namedPackages = array()) Constructor. setDefau

ReversedTransformer

class ReversedTransformer implements DataTransformerInterface Reverses a transformer. When the transform() method is called, the reversed transformer's reverseTransform() method is called and vice versa. Methods __construct(DataTransformerInterface $reversedTransformer) Reverses this transformer. mixed transform(mixed $value) Transforms a value from the original representation to a transformed representation. mixed reverseTransform(mixed $value) Transforms a value from the tran

RangeType::getBlockPrefix()

string getBlockPrefix() Returns the prefix of the template block name for this type. The block prefix defaults to the underscored short class name with the "Type" suffix removed (e.g. "UserProfileType" => "user_profile"). Return Value string The prefix of the template block name

MetadataAwareInterface::setMetadata()

setMetadata(string $key, mixed $value, string $domain = 'messages') Adds metadata to a message domain. Parameters string $key The key mixed $value The value string $domain The domain name