class handler_factory

Properties

protected ContainerInterface $container

Methods

__construct(ContainerInterface $container)

Constructor

get_instance(string $type)

Return a new instance of an appropriate report handler

Details

at line 30
__construct(ContainerInterface $container)

Constructor

Parameters

ContainerInterface $container

at line 42
report_handler_interface get_instance(string $type)

Return a new instance of an appropriate report handler

Parameters

string $type

Return Value

report_handler_interface

Exceptions

factory_invalid_argument_exception

if $type is not valid