ControllerInspector
class ControllerInspector (View source)
Methods
array
getRoutable(
string $controller,
string $prefix)
Get the routable methods for a controller.
bool
array
string
getVerb(
string $name)
Extract the verb from a controller action.
string
getPlainUri(
string $name,
string $prefix)
Determine the URI from the given method name.
string
addUriWildcards(
string $uri)
Add wildcards to the given URI.
Details
at line line 31
array
getRoutable(
string $controller,
string $prefix)
Get the routable methods for a controller.
at line line 66
bool
isRoutable(
ReflectionMethod $method)
Determine if the given controller method is routable.
at line line 82
array
getMethodData(
ReflectionMethod $method,
string $prefix)
Get the method data for a given method.
at line line 121
string
getPlainUri(
string $name,
string $prefix)
Determine the URI from the given method name.