Route
class Route implements RouteInterface, Arrayable
This class presents "routes" section from config
Traits
Methods
__construct(string $_name, $data = [], bool $single = false)
No description
string
getName()
No description
void
setRouteBlocks(array $routeBlocks)
No description
array
getRouteBlocks()
No description
array
toArray()
Get the instance as an array.
string|false
toJson()
No description
Details
in
HasListeners at line 17
void
setListener(Listener $listener)
Setup new listener
in
HasListeners at line 27
array
getListeners()
Get listeners linked to object;
in
HasListeners at line 37
bool
hasListeners()
Check if listeners are empty or not
at line 29
__construct(string $_name, $data = [], bool $single = false)
No description
at line 48
string
getName()
No description
at line 56
void
setRouteBlocks(array $routeBlocks)
No description
at line 64
array
getRouteBlocks()
No description
at line 69
array
toArray()
Get the instance as an array.
at line 77
string|false
toJson()
No description