/** * Create a new instance. * * @param string $validatorName The name of the originating validator. * * @param string $psr4Prefix The specified psr-4 namespace prefix. * * @param string $path The specified path. * * @param string $class The class in question. * * @param string $fileIs The file name where it has been found. * * @param string $fileShould The file name where it should have been found. */ public function __construct($validatorName, $psr4Prefix, $path, $class, $fileIs, $fileShould) { parent::__construct($validatorName, $psr4Prefix, $path); $this->class = $class; $this->fileIs = $fileIs; $this->fileShould = $fileShould; }
/** * Create a new instance. * * @param string $validatorName The name of the originating validator. * * @param string $psr4Prefix The specified psr-0 namespace prefix. * * @param string $path The path where the class has been found. * * @param string $class The class name. * * @param string $namespace The namespace of the class. */ public function __construct($validatorName, $psr4Prefix, $path, $class, $namespace) { parent::__construct($validatorName, $psr4Prefix, $path); $this->class = $class; $this->namespace = $namespace; }