DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
laravel route namespace and prefix
use
AppModelsUser
;
Route
::
get
(
'/users/{user}'
,
function
(
User
$user
)
{
return
$user
->
email
;
}
)
;
Source by laravel.com #
PREVIOUS
NEXT
Tagged:
#laravel
#route
#namespace
#prefix
ADD COMMENT
Topic
COMMENT
Name
3+1 =
Submit