mercredi 14 décembre 2016

Laravel set view from helper

I have a simple helper (/app/Helpers/Helper.php). Is is possible to set a view from helper's function? How can i do that?

Notice: this function called in controller's __construct

public function __construct()
{
   set_view();
}

Thank you!



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire