protected _handleAlias ( string $shell ) : string | ||
$shell | string | Optionally the name of a plugin or alias |
return | string | Shell name with plugin prefix |
protected function _handleAlias($shell)
{
$aliased = static::alias($shell);
if ($aliased) {
$shell = $aliased;
}
$class = array_map('Cake\\Utility\\Inflector::camelize', explode('.', $shell));
return implode('.', $class);
}