Level 6
can anyone know solution for this?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
As of laravel 5.3....session data will not be passed to constructor as per https://laravel-news.com/controller-construct-session-changes-in-laravel-5-3
there is a workaround to this for controller.
But, how can i get a work around for it in Reposiroty?
my original problem: I am using sentinel so want to get current logged in user info inside construct method so that it can be used everywhere in RepositoryEloquent file.
is there any elegant way to get that done in laravel 5.4?
thanks
Please or to participate in this conversation.