Laravel this is not only a practical framework, it is also a programming style
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