protected _checkRootDirOption ( Symfony\Component\Console\Input\InputInterface $input ) : string | ||
$input | Symfony\Component\Console\Input\InputInterface | |
return | string |
protected function _checkRootDirOption(InputInterface $input)
{
$rootDir = $input->getParameterOption('--root-dir');
if (is_string($rootDir)) {
$this->setRootDir($rootDir);
}
}