public function __construct($themeName, $assetPath = null, $viewsPath = null) { $this->name = $themeName; $this->assetPath = $assetPath === null ? $themeName : $assetPath; $this->viewsPath = $viewsPath === null ? $themeName : $viewsPath; }