/** * @return map */ public static function getinstance() { if (!self::$instance) { self::$instance = new self(); } return self::$instance; }