Well, I've been working on PHP for some time now.
I'm calling a function in my View as follows:
{{ $result_resumo = app(App\Http\Controllers\Site\SiteController::class)->NoticiasResumo($dados_noticias->post,80, FALSE, "") }}
Now I ask:
Is there another way to call the function without typing the entire path of Controller
?
Note: I am using the Laravel Framework 5.5