Component\CssSelector\XPath\Extension

Classes AbstractExtension XPath expression translator abstract extension. AttributeMatchingExtension XPath expression translator attribute extension. CombinationExtension XPath expression translator combination extension. FunctionExtension XPath expression translator function extension. HtmlExtension XPath expression translator HTML extension. NodeExtension XPath expression translator node extension. PseudoClassExtension XPath expression translator pseudo-class extens

Parser::parse()

Node parse(TokenStream $stream, array $names = array()) Converts a token stream to a node tree. The valid names is an array where the values are the names that the user can use in an expression. If the variable name in the compiled PHP code must be different, define it as the key. For instance, ['this' => 'container'] means that the variable 'container' can be used in the expression but the compiled code will use 'this'. Parameters TokenStream $stream A token stream instanc

Hour2401Transformer deprecated

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

FormInterface::getTransformationFailure()

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

Debug

class Debug Registers all the debug tools. Methods static enable(int $errorReportingLevel = E_ALL, bool $displayErrors = true) Enables the debug tools. Details static enable(int $errorReportingLevel = E_ALL, bool $displayErrors = true) Enables the debug tools. This method registers an error handler and an exception handler. If the Symfony ClassLoader component is available, a special class loader is also registered. Parameters int $errorRepor

Component\Form\Extension\HttpFoundation

Namespaces Symfony\Component\Form\Extension\HttpFoundation\EventListenerSymfony\Component\Form\Extension\HttpFoundation\Type Classes HttpFoundationExtension Integrates the HttpFoundation component with the Form library. HttpFoundationRequestHandler A request processor using the {@link Request} class of the HttpFoundation component.

Component\Form\Extension\Core\ChoiceList

Classes ChoiceList A choice list for choices of arbitrary data types. LazyChoiceList A choice list that is loaded lazily ObjectChoiceList A choice list for object choices. SimpleChoiceList A choice list for choices of type string or integer. Interfaces ChoiceListInterface Contains choices that can be selected in a form field.

ClassMetadata::addConstraint()

GenericMetadata addConstraint(Constraint $constraint) Adds a constraint. If the constraint {@link Valid} is added, the cascading strategy will be changed to {@link CascadingStrategy::CASCADE}. Depending on the $traverse property of that constraint, the traversal strategy will be set to one of the following: {@link TraversalStrategy::IMPLICIT} if $traverse is enabled {@link TraversalStrategy::NONE} if $traverse is disabled Parameters Constraint $constraint The constraint to add

Output

class Output implements OutputInterface Base class for output classes. There are five levels of verbosity: normal: no option passed (normal output) verbose: -v (more output) very verbose: -vv (highly extended output) debug: -vvv (all debug output) quiet: -q (no output) Methods __construct(int $verbosity = self::VERBOSITY_NORMAL, bool $decorated = false, OutputFormatterInterface $formatter = null) Constructor. setFormatter(OutputFormatterInterface $formatter) Sets output formatter.

NativeSessionStorage::getName()

mixed getName() Returns the session name. Return Value mixed The session name