Handler
class Handler (View source)
Represent a generic handler - a Closure or a class method to be resolved from the service container
Methods
__construct(GenericFactory $factory, string|array|Closure $raw_handler, string $default_method = '', string $namespace = '')
Constructor
object
make()
Make an instance of the handler.
mixed
execute()
Execute the parsed handler with any provided arguments and return the result.
Details
at line 44
__construct(GenericFactory $factory, string|array|Closure $raw_handler, string $default_method = '', string $namespace = '')
Constructor
at line 130
object
make()
Make an instance of the handler.
at line 159
mixed
execute()
Execute the parsed handler with any provided arguments and return the result.