Skip to content

ValidatorSource

A discovered (or explicitly given) validators.xml file, ready to be parsed into a ValidatorPlan.

final class ValidatorSource

Since1.0.0
SourceValidator/Compiler/ValidatorSource.php
PropertyTypeDescription
$environment?``stringreadonly.
$pathstringreadonly.

public function __construct(string $path, ?string $environment = null): mixed

ParameterTypeDescription
$pathstring
$environment?``string

Returns mixed