class Post extends Route (View source)

Methods

__construct(string $path, array $middleware = [], array $where = [], string|null $name = null)

No description

string
getPath()

Get the route path

from  Route
array
getMethods()

Get the http methods

from  Route
array
getMiddleware()

Get the middleware

from  Route
array
getWhere()

Get the route constraints

from  Route
string|null
getName()

Get the route name

from  Route

Details

__construct(string $path, array $middleware = [], array $where = [], string|null $name = null)

No description

Parameters

string $path
array $middleware
array $where
string|null $name

string getPath()

Get the route path

Return Value

string

array getMethods()

Get the http methods

Return Value

array

array getMiddleware()

Get the middleware

Return Value

array

array getWhere()

Get the route constraints

Return Value

array

string|null getName()

Get the route name

Return Value

string|null