We were talking about Laravel 5 on its release, we are pleased today to welcome Laravel 5.1
I want to access a controller function from blade file in laravel.
My Code:
Blade.php
use App\Http\Controllers\myController; $newControl = new myController; $function = 'myfunction()'; echo $newControl->$function;
Aucun commentaire:
Enregistrer un commentaire