class ApplicationInfoProvider

Methods

__construct(Repository $cache, Translator $translator, Schedule $schedule, ConnectionInterface $db, Config $config, SessionManager $session, SessionHandlerInterface $sessionHandler, Queue $queue)

No description

bool
scheduledTasksRegistered()

No description

string
getSchedulerStatus()

No description

string
identifyQueueDriver()

No description

string
identifyDatabaseVersion()

No description

string
identifyDatabaseDriver()

No description

string|null
identifyDatabaseDriverMismatch()

Detect when the configured database driver does not match the server actually being used.

array
identifyDatabaseOptions()

No description

string
identifySessionDriver(bool $forWeb = false)

Reports on the session driver in use based on three scenarios: 1. If the configured session driver is valid and in use, it will be returned.

string
identifyPHPVersion()

No description

Details

__construct(Repository $cache, Translator $translator, Schedule $schedule, ConnectionInterface $db, Config $config, SessionManager $session, SessionHandlerInterface $sessionHandler, Queue $queue)

Parameters

Repository $cache
Translator $translator
Schedule $schedule
ConnectionInterface $db
Config $config
SessionManager $session
SessionHandlerInterface $sessionHandler
Queue $queue

bool scheduledTasksRegistered()

Return Value

bool

string getSchedulerStatus()

Return Value

string

string identifyQueueDriver()

Return Value

string

string identifyDatabaseVersion()

Return Value

string

string identifyDatabaseDriver()

Return Value

string

string|null identifyDatabaseDriverMismatch()

Detect when the configured database driver does not match the server actually being used.

The common case is configuring the 'mysql' driver while connecting to a MariaDB server (or vice versa). Because Illuminate uses a distinct connection class and query grammar per driver, this mismatch can cause subtle, hard-to-diagnose query bugs. Returns the driver that *should* be configured, or null when the configured driver matches the server (or detection does not apply, e.g. for pgsql/sqlite which cannot be confused for one another).

Return Value

string|null

array identifyDatabaseOptions()

Return Value

array

string identifySessionDriver(bool $forWeb = false)

Reports on the session driver in use based on three scenarios: 1. If the configured session driver is valid and in use, it will be returned.

2. If the configured session driver is invalid, fallback to the default one and mention it. 3. If the actual used driver (i.e `session.handler`) is different from the current one (configured or default), mention it.

Parameters

bool $forWeb

Return Value

string

string identifyPHPVersion()

Return Value

string