silexApplication = $application; $this->projectDirectory = $projectDirectory; $application->boot(); } public function getSilexApplication() { return $this->silexApplication; } public function getProjectDirectory() { return $this->projectDirectory; } }