class factory

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

Properties

protected driver_interface $db
protected ContainerInterface $container

Methods

__construct(driver_interface $db, ContainerInterface $container)

Extractor factory constructor

get()

DB extractor factory getter

Details

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

Extractor factory constructor

Parameters

driver_interface $db
ContainerInterface $container

at line 49
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