phpBB API Documentation
Class

phpbb\db\extractor\factory

class factory

A factory which serves the suitable extractor instance for the given dbal

Methods

__construct(driver_interface $db, ContainerInterface $container)

Extractor factory constructor

extractor_interface get()

DB extractor factory getter

Details

at line 37
public __construct(driver_interface $db, ContainerInterface $container)

Extractor factory constructor

Parameters

driver_interface $db
ContainerInterface $container

at line 49
public extractor_interface get()

DB extractor factory getter

Return Value

extractor_interface an appropriate instance of the database extractor for the used database driver

Exceptions

InvalidArgumentException when the database driver is unknown