get('currentCompany'); if(!empty($companyConext)) { config(['laravel-model-caching.cache-prefix' => 'company_'.$companyConext->id]); } parent::__construct($attributes); } }