class HandlerFactory (View source)

Handler factory.

Methods

__construct(GenericFactory $factory)

Constructor.

make(string|Closure $raw_handler, string $default_method = '', string $namespace = '')

Make a Handler.

Details

__construct(GenericFactory $factory)

Constructor.

Parameters

GenericFactory $factory

Handler make(string|Closure $raw_handler, string $default_method = '', string $namespace = '')

Make a Handler.

Parameters

string|Closure $raw_handler
string $default_method
string $namespace

Return Value

Handler