class ApplicationDriver implements DriverInterface (View source)

Properties

protected Application $app
protected Repository $config

Methods

__construct(Repository $config, Application $app)

Constructor

bool
isLegacy()

Does support legacy namespace with src

MappingDriver
getDriver()

Return the correct MappingDriver base on the application config

string
getNamespace()

Get eather the default application namespace, or the legacy appliation namespace

Details

__construct(Repository $config, Application $app)

Constructor

Parameters

Repository $config
Application $app

private bool isLegacy()

Does support legacy namespace with src

Return Value

bool

MappingDriver getDriver()

Return the correct MappingDriver base on the application config

Return Value

MappingDriver

string getNamespace()

Get eather the default application namespace, or the legacy appliation namespace

Return Value

string