Recca0120\Terminal\Console\Commands\Find::run PHP Метод

run() публичный Метод

run.
public run ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : Symfony\Component\Console\Input\StringInput
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
Результат Symfony\Component\Console\Input\StringInput
    public function run(InputInterface $input, OutputInterface $output)
    {
        $command = (string) $input;
        $command = strtr($command, [' -name' => ' -N', ' -type' => ' -T', ' -maxdepth' => ' -M', ' -delete' => ' -d true']);
        return parent::run(new StringInput($command), $output);
    }