ExecutionContext deprecated::getClassName()

string|null getClassName() Returns the class name of the current node. If the metadata of the current node does not implement {@link ClassBasedInterface} or if no metadata is available for the current node, this method returns null. Return Value string|null The class name or null, if no class name could be found.

ExecutionContext deprecated::addViolationAt()

addViolationAt(string $subPath, string $message, array $parameters = array(), mixed $invalidValue = null, int|null $plural = null, int|null $code = null) Adds a violation at the validation graph node with the given property path relative to the current property path. Parameters string $subPath The relative property path for the violation string $message The error message array $parameters The parameters substituted in the error message mixed $invalidValue The invalid, validated val

ExecutionContext deprecated::addViolation()

addViolation(string $message, array $params = array(), mixed $invalidValue = null, int|null $plural = null, int|null $code = null) Adds a violation at the current node of the validation graph. Note: the parameters $invalidValue, $plural and $code are deprecated since version 2.5 and will be removed in 3.0. Parameters string $message The error message array $params The parameters substituted in the error message mixed $invalidValue The invalid, validated value int|null $plural The n

ExecutionContext deprecated

class ExecutionContext implements ExecutionContextInterface deprecated since version 2.5, to be removed in 3.0. Use {@link Context\ExecutionContext} instead. Default implementation of {@link ExecutionContextInterface}. This class is immutable by design. Methods __construct(GlobalExecutionContextInterface $globalContext, TranslatorInterface $translator, null|string $translationDomain = null, MetadataInterface $metadata = null, mixed $value = null, string $group = null, string $propert

ExecutionContext

class ExecutionContext implements ExecutionContextInterface The context used and created by {@link ExecutionContextFactory}. Methods __construct(ValidatorInterface $validator, mixed $root, TranslatorInterface $translator, string|null $translationDomain = null) Creates a new execution context. setNode(mixed $value, object|null $object, MetadataInterface $metadata = null, string $propertyPath) Sets the currently validated value. setGroup(string|null $group) Sets the currently val

ExecutableFinder::setSuffixes()

setSuffixes(array $suffixes) Replaces default suffixes of executable. Parameters array $suffixes

ExecutableFinder::find()

string find(string $name, string $default = null, array $extraDirs = array()) Finds an executable by name. Parameters string $name The executable name (without the extension) string $default The default to return if no executable is found array $extraDirs Additional dirs to check into Return Value string The executable path or default value

ExecutableFinder::addSuffix()

addSuffix(string $suffix) Adds new possible suffix to check for executable. Parameters string $suffix

ExecutableFinder

class ExecutableFinder Generic executable finder. Methods setSuffixes(array $suffixes) Replaces default suffixes of executable. addSuffix(string $suffix) Adds new possible suffix to check for executable. string find(string $name, string $default = null, array $extraDirs = array()) Finds an executable by name. Details setSuffixes(array $suffixes) Replaces default suffixes of executable. Parameters array $suffixes

ExcludeDirectoryFilterIterator::hasChildren()

hasChildren()