public function __construct(LanguageService $language_service) { $this->language_service = $language_service; parent::__construct(); View::addNamespace('language_manager', app_path() . "/Modules/Doptor/TranslationManager/Views/languages"); }