/** * Returns the Aimeos bootstrap object * * @return \Aimeos\Bootstrap Aimeos bootstrap object */ private static function getAimeos() { if (!isset(self::$aimeos)) { require_once dirname(dirname(dirname(__DIR__))) . DIRECTORY_SEPARATOR . 'Bootstrap.php'; self::$aimeos = new \Aimeos\Bootstrap(array(), false); } return self::$aimeos; }