Modules\Doptor\TranslationManager\Controllers\Backend\TranslationManagerController::__construct PHP Method

__construct() public method

public __construct ( Manager $translation_manager )
$translation_manager Barryvdh\TranslationManager\Manager
    public function __construct(Manager $translation_manager)
    {
        $this->translation_manager = $translation_manager;
        // $this->translation_manager->truncateTranslations();
        // $this->translation_manager->importTranslations();
        parent::__construct();
        View::addNamespace('translation_manager', app_path() . "/Modules/Doptor/TranslationManager/Views/translations");
    }