*/ static public function getProjectPath() { $project_path = realpath(Argument::get('P', 'path', getcwd())); if (!is_file($project_path.'/symfony')) { throw new Exception('Not in a symfony project'); } return $project_path; } }