final class DefineRoute implements Actionable

Calls a test method with the router instance for route definition.

Methods

__construct(string $method)

No description

mixed
handle(Application $app, Closure $action)

Handle the attribute.

Details

at line 19
__construct(string $method)

No description

Parameters

string $method

at line 29
mixed handle(Application $app, Closure $action)

Handle the attribute.

Parameters

Application $app
Closure $action

Return Value

mixed