phpBB API Documentation
Class

phpbb\install\helper\iohandler\factory

class factory

Input-output handler factory

Methods

__construct(ContainerInterface $container)

Constructor

set_environment(string $environment)

iohandler_interface get()

Factory getter for iohandler

Details

at line 38
public __construct(ContainerInterface $container)

Constructor

Parameters

ContainerInterface $container Dependency injection container

at line 47
public set_environment(string $environment)

Parameters

string $environment The name of the input-output handler to use

at line 60
public iohandler_interface get()

Factory getter for iohandler

Return Value

iohandler_interface

Exceptions

iohandler_not_implemented_exception When the specified iohandler_interface does not exists