TestSessionListener::onKernelResponse()

onKernelResponse(FilterResponseEvent $event) Checks if session was initialized and saves if current request is master Runs on 'kernel.response' in test environment. Parameters FilterResponseEvent $event

CurrencyDataProvider::forNumericCode()

forNumericCode($numericCode) Data provider for {@link \Symfony\Component\Intl\Currency::forNumericCode()}. Parameters $numericCode

DelegatingEngine

class DelegatingEngine extends DelegatingEngine implements EngineInterface DelegatingEngine selects an engine for a given template. Methods __construct(ContainerInterface $container, array $engineIds) Constructor. string render(string|TemplateReferenceInterface $name, array $parameters = array()) Renders a template. from DelegatingEngine stream(string|TemplateReferenceInterface $name, array $parameters = array()) Streams a template. from DelegatingEngine bool exists(string|T

LazyChoiceList deprecated::getRemainingViews()

array getRemainingViews() Returns the choice views of the choices that are not preferred as nested array with the choice groups as top-level keys. Example: array( 'Group 1' => array( 10 => ChoiceView object, 20 => ChoiceView object, ), 'Group 2' => array( 30 => ChoiceView object, ), ) Return Value array A nested array containing the views with the corresponding choice indices as keys on the lowest levels and the choice group names in the keys of the higher leve

AmPmTransformer::getReverseMatchingRegExp()

string getReverseMatchingRegExp(int $length) Returns a reverse matching regular expression of a string generated by format(). Parameters int $length The length of the value to be reverse matched Return Value string The reverse matching regular expression

OutputStyle::newLine()

newLine(int $count = 1) Add newline(s). Parameters int $count The number of newlines

DOMCaster::castLength()

static castLength($dom, array $a, Stub $stub, $isNested) Parameters $dom array $a Stub $stub $isNested

Traverse

class Traverse extends Constraint Constants DEFAULT_GROUP The name of the group given to all constraints with no explicit group. CLASS_CONSTRAINT Marks a constraint that can be put onto classes. PROPERTY_CONSTRAINT Marks a constraint that can be put onto properties. Properties mixed $payload Domain-specific data attached to a constraint. from Constraint array $groups The groups that the constraint belongs to from Constraint $traverse Methods static string getErrorName(

FormTypeValidatorExtension::getExtendedType()

string getExtendedType() Returns the name of the type being extended. Return Value string The name of the type being extended

ExecutionContextInterface deprecated::validateValue()

validateValue(mixed $value, Constraint|Constraint[] $constraints, string $subPath = '', null|string|string[] $groups = null) deprecated deprecated since version 2.5, to be removed in 3.0. Use {@link Context\ExecutionContextInterface::getValidator()} instead. Validates a value against a constraint. Use the parameter $subPath to adapt the property path for the validated value. For example, take the following object graph: (Person)---($address: Address)---($street: string)