AppserverIo\Appserver\Core\AbstractContainerThread::addApplication PHP Метод

addApplication() публичный Метод

Append the deployed application to the deployment instance and registers it in the system configuration.
public addApplication ( AppserverIo\Psr\Application\ApplicationInterface $application ) : void
$application AppserverIo\Psr\Application\ApplicationInterface The application to append
Результат void
    public function addApplication(ApplicationInterface $application)
    {
        // register the application in this instance
        $this->applications[$application->getName()] = $application;
        // adds the application to the system configuration
        $this->addApplicationToSystemConfiguration($application);
    }