/home/techb158/immovalet.com/platform/packages/theme/src/Commands/Traits
Edit: /home/techb158/immovalet.com/platform/packages/theme/src/Commands/Traits/ThemeTrait.php (866B)
option('path')) {
$rootPath = $this->option('path');
}
if (!$theme) {
$theme = $this->getTheme();
}
return rtrim($rootPath, '/') . '/' . rtrim(ltrim(strtolower($theme), '/'), '/') . '/' . $path;
}
/**
* Get the theme name.
*
* @return string
*/
protected function getTheme()
{
if ($this->hasArgument('name')) {
return strtolower($this->argument('name'));
}
return strtolower($this->option('name'));
}
}