com\setasign\SetaFramework\Application

ApplicationManager Class ApplicationManager

File: /SetaFramework/src/Application/ApplicationManager.php

Class hierarchy

Summary

Constants

EVENT_ALL_APPLICATIONS_PREPARED

public const ApplicationManager::EVENT_ALL_APPLICATIONS_PREPARED = 'applicationManager.allApplicationsPrepared'

Will be called after all applications are prepared.


Properties

$applicationsPrepared

$bootstrap

$eventManager


Methods

areApplicationsPrepared()

getApplication()

public ApplicationManager::getApplication (
string $applicationName
): ApplicationInterface
Parameters
$applicationName : string
 

getApplicationNames()

public ApplicationManager::getApplicationNames (
void
): array

getHttpApplication()

Parameters
$applicationName : string
 

prepareApplications()

Prepares the applications

setApplicationSettings()

Sets the application settings

Each top level entry of $settings is an application. The key is the applicationName and the value should be an array with the properties.

Needed properties are applicationClassFile and applicationClassName.

Optional property is config which should be an filepath to a config file or a SetaFramework\Config object.

Parameters
$settings : \com\setasign\SetaFramework\Config\Config