class factory

Input-output handler factory

Properties

protected ContainerInterface $container
protected string|null $environment

Methods

__construct(ContainerInterface $container)

Constructor

set_environment(string $environment)

No description

get()

Factory getter for iohandler

Details

at line 38
__construct(ContainerInterface $container)

Constructor

Parameters

ContainerInterface $container

Dependency injection container

at line 47
set_environment(string $environment)

No description

Parameters

string $environment

The name of the input-output handler to use

at line 60
iohandler_interface get()

Factory getter for iohandler

Return Value

iohandler_interface

Exceptions

iohandler_not_implemented_exception

When the specified iohandler_interface does not exists