public static fileDoesNotExist ( string $fileName ) : |
||
$fileName | string | |
Результат |
/** * @param string $pathToPhp7Code * * @throws \Spatie\Php7to5\Exceptions\InvalidParameter */ public function __construct($pathToPhp7Code) { if (!file_exists($pathToPhp7Code)) { throw InvalidParameter::fileDoesNotExist($pathToPhp7Code); } $this->pathToPhp7Code = $pathToPhp7Code; }