class ApplicationInfoProvider

Properties

protected SettingsRepositoryInterface $settings
protected Translator $translator
protected Schedule $schedule
protected ConnectionInterface $db
protected Config $config
protected SessionManager $session
protected SessionHandlerInterface $sessionHandler
protected Queue $queue

Methods

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

No description

bool
scheduledTasksRegistered()

Identify if any tasks are registered with the scheduler.

string
getSchedulerStatus()

Gets the current status of the scheduler.

string
identifyQueueDriver()

Identify the queue driver in use.

string
identifyDatabaseVersion()

Identify the version of the database we are connected to.

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()

Identifiy the current PHP version.

Details

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

Parameters

SettingsRepositoryInterface $settings
Translator $translator
Schedule $schedule
ConnectionInterface $db
Config $config
SessionManager $session
SessionHandlerInterface $sessionHandler
Queue $queue

bool scheduledTasksRegistered()

Identify if any tasks are registered with the scheduler.

Return Value

bool

string getSchedulerStatus()

Gets the current status of the scheduler.

Return Value

string

string identifyQueueDriver()

Identify the queue driver in use.

Return Value

string

string identifyDatabaseVersion()

Identify the version of the database we are connected to.

Return Value

string

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()

Identifiy the current PHP version.

Return Value

string