Well, if I add new User() at te beginning of the method it works : I can access the static property. That's strange because I thought static properties could be accessed without needing to crate an instance of the class...
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community