/** * Get the root path to Doctrine * * @return string */ public static function getPath() { if (!self::$_path) { self::$_path = realpath(dirname(__FILE__) . '/..'); } return self::$_path; }