Friday, March 10, 2017

Method inject a helper class?

I have a helper class in App/Helpers called helper.php.

Is there a way to use this in a controller via method injection?

For example:

public function index(\App\Helpers\helper $helper){



via panthro

Advertisement