/** * @static * @return rest_Quantity */ public static function instance() { if (self::$self == null) { self::$self = new self(); } return self::$self; }