Hi, When get a value from a session in __construct it fails.
public $lang-admin = 'en'; public function __construct(){ if (session()->has('ADMIN_LOCALE')) { $this->lang-admin = session('ADMIN_LOCALE'); } }
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community