class Driver implements DriverInterface (View source)

Each Doctrine MappingDriver must be wrapped by this class, so all Drivers can be loaded correctly during the bootstrap of the application Each new Doctrine MappingDriver must also be wrapped in a new instance of this class

Properties

protected $namespace
protected $driver

Methods

__construct(string $namespace, MappingDriver $driver)

Constructor

MappingDriver
getDriver()

No description

string
getNamespace()

No description

Details

__construct(string $namespace, MappingDriver $driver)

Constructor

Parameters

string $namespace
MappingDriver $driver

MappingDriver getDriver()

Return Value

MappingDriver

string getNamespace()

Return Value

string