vendredi 12 juin 2020

Blank screen getting controller instance on Laravel

With this code , I get a blank screen, and the debug stop but doesn't shows an error

 $instance = app('App\Http\Controllers\MyControllers\ConsumerController');
 $consumerSegmentList = $this->getSegmentList($instance);

The problem its when I try to get a controller instance with app function the route its correct but I don't know whats the problem, this code its ib ParentController which is the parent of ConsumerController



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2At4o6Y
via IFTTT

Aucun commentaire:

Enregistrer un commentaire