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);
    }
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);
    }
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 ) ; }
Append the deployed application to the deployment instance
and registers it in the system configuration.

@param \AppserverIo\Psr\Application\ApplicationInterface $application The application to append

@return void
Append the deployed application to the deployment instance and registers it in the system configuration .