I have sample code in my Class:
public $themePath = "layouts/inbox/";
public $theme = $this->themePath."theme-limitless.";
public $inboxView = $this->theme."inbox";
And here my code not work. I must save my theme name in one var and path to theme in another var and use view using theme name. Now I have error:
Constant expression contains invalid operations:
public $theme = $this->themePath."theme-limitless."; // Error line
Generaly I must get path in var $inboxView
:
$inboxView = "layouts/inbox/theme-limitless.inbox";