/var/www/vhosts/ihelp.ro/_OLD/vendor/cakephp/cakephp/src/TestSuite
Edit: /var/www/vhosts/ihelp.ro/_OLD/vendor/cakephp/cakephp/src/TestSuite/LegacyShellDispatcher.php (1839B)
_io = $io;
parent::__construct($args, $bootstrap);
}
/**
* Injects mock and stub io components into the shell
*
* @param string $className Class name
* @param string $shortName Short name
* @return \Cake\Console\Shell
*/
protected function _createShell(string $className, string $shortName): Shell
{
[$plugin] = pluginSplit($shortName);
/** @var \Cake\Console\Shell $instance */
$instance = new $className($this->_io);
if ($plugin) {
$instance->plugin = trim($plugin, '.');
}
return $instance;
}
}