“Laravel to nazwa trasy” Kod odpowiedzi

Laravel, otrzymuj bieżącą nazwę trasy

Route::currentRouteName()
Beautiful Bird

Laravel, otrzymuj bieżącą nazwę trasy

request()->route()->getName()
mvmrik

Laravel, otrzymuj bieżącą nazwę trasy

Route::getCurrentRoute()->getActionName();
Adventurous Ant

Laravel to nazwa trasy

// Check if route is ***
Request::route()->named("YourRouteNameView")
gtamborero

Odpowiedzi podobne do “Laravel to nazwa trasy”

Pytania podobne do “Laravel to nazwa trasy”

Więcej pokrewnych odpowiedzi na “Laravel to nazwa trasy” w PHP

Przeglądaj popularne odpowiedzi na kod według języka

Przeglądaj inne języki kodu