N98\Magento\Command\Database\ImportCommand::checkFilename PHP Метод

checkFilename() защищенный Метод

protected checkFilename ( Symfony\Component\Console\Input\InputInterface $input ) : mixed
$input Symfony\Component\Console\Input\InputInterface
Результат mixed
    protected function checkFilename(InputInterface $input)
    {
        $fileName = $input->getArgument('filename');
        if (!file_exists($fileName)) {
            throw new InvalidArgumentException('File does not exist');
        }
        return $fileName;
    }