class RouteHandlerFactory

Methods

__construct(Container $container)

No description

toController(callable|string $controller)

No description

toFrontend(string $frontend, callable|string|null $content = null)

No description

toForum(string $content = null)

No description

toAdmin(string $content = null)

No description

Details

__construct(Container $container)

Parameters

Container $container

Closure toController(callable|string $controller)

Parameters

callable|string $controller

Return Value

Closure

Closure toFrontend(string $frontend, callable|string|null $content = null)

Parameters

string $frontend
callable|string|null $content

Return Value

Closure

Closure toForum(string $content = null)

Parameters

string $content

Return Value

Closure

Closure toAdmin(string $content = null)

Parameters

string $content

Return Value

Closure