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); }