Definition::setAutowiringTypes()

Definition setAutowiringTypes(array $types) Sets types that will default to this definition. Parameters array $types Return Value Definition The current instance

ExecutionContextInterface deprecated

interface ExecutionContextInterface deprecated since version 2.5, to be removed in 3.0. Use {@link Context\ExecutionContextInterface} instead. Stores the validator's state during validation. For example, let's validate the following object graph: (Person)---($firstName: string) \ ($address: Address)---($street: string) We validate the Person instance, which becomes the "root" of the validation run (see {@link getRoot}). The state of the context after the first step will be like

AnnotationLoader

class AnnotationLoader implements LoaderInterface Annotation loader. Methods __construct(Reader $reader) bool loadClassMetadata(ClassMetadataInterface $classMetadata) Load class metadata. Details __construct(Reader $reader) Parameters Reader $reader bool loadClassMetadata(ClassMetadataInterface $classMetadata) Load class metadata. Parameters ClassMetadataInterface $classMetadata A metadata Ret

AttributeBag::count()

int count() Returns the number of attributes. Return Value int The number of attributes

UnsupportedException

class UnsupportedException extends InvalidArgumentException UnsupportedException.

DirectoryLoader

class DirectoryLoader extends FileLoader DirectoryLoader is a recursive loader to go through directories. Methods LoaderResolverInterface getResolver() Gets the loader resolver. from Loader setResolver(LoaderResolverInterface $resolver) Sets the loader resolver. from Loader mixed import(mixed $resource, string|null $type = null, bool $ignoreErrors = false, string|null $sourceResource = null) Imports a resource. from FileLoader LoaderInterface resolve(mixed $resource, string|n

ExpressionRequestMatcher::setExpression()

setExpression(ExpressionLanguage $language, $expression) Parameters ExpressionLanguage $language $expression

PropertyPath::getElements()

array getElements() Returns the elements of the property path as array. Return Value array An array of property/index names

FormConfigBuilder::setMethod()

FormConfigBuilderInterface setMethod(string $method) Sets the HTTP method used by the form. Parameters string $method The HTTP method of the form Return Value FormConfigBuilderInterface The configuration object

FormConfigBuilder::getDataClass()

string getDataClass() Returns the class of the form data or null if the data is scalar or an array. Return Value string The data class or null