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::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::getGroup()

string getGroup() Returns the validation group that is currently being validated. Return Value string The current validation group.

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

ExcludeDirectoryFilterIterator::hasChildren()

hasChildren()

ExcludeDirectoryFilterIterator

class ExcludeDirectoryFilterIterator extends FilterIterator implements RecursiveIterator ExcludeDirectoryFilterIterator filters out directories. Methods rewind() This is a workaround for the problem with \FilterIterator leaving inner \FilesystemIterator in wrong state after rewind in some cases. from FilterIterator __construct(Iterator $iterator, array $directories) Constructor. bool accept() Filters the iterator values. hasChildren() getChildren() Details

ExcludeDirectoryFilterIterator::accept()

bool accept() Filters the iterator values. Return Value bool True if the value should be kept, false otherwise