class RouteHandlerFactory

Properties

protected Container $container

Methods

__construct(Container $container)

No description

toController($controller)

No description

toFrontend(string $frontend, string|callable|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($controller)

Parameters

$controller

Return Value

Closure

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

Parameters

string $frontend
string|callable|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