Spatie\Commands\ResolveCommand::guardAgainstInvalidInput PHP Method

guardAgainstInvalidInput() protected method

Validate the inputfile.
protected guardAgainstInvalidInput ( $certificateFile )
$certificateFile
    protected function guardAgainstInvalidInput($certificateFile)
    {
        if (!file_exists($certificateFile)) {
            throw new Exception('Inputfile' . $certificateFile . ' does not exists');
        }
    }