Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Adamgoose
Routing
Annotations
EndpointTrait
getMethodForPath
Adamgoose\Routing\Annotations\EndpointTrait::getMethodForPath PHP Method
EndpointTrait Trait Documentation
Show file
Open project: adamgoose/laravel-annotations
getMethodForPath()
public
method
Get the controller method for the given endpoint path.
public
getMethodForPath
(
AbstractPath
$path
) :
string
$path
AbstractPath
return
string
public function getMethodForPath(AbstractPath $path) { return $path->method; }
EndpointTrait
addPath
getMethodForPath
implodeArray
middlewareAppliesToMethod