/** * Return an instance of a builder * * @return AnDomainQueryBuilder */ public static function getInstance() { if (!self::$_instance) { self::$_instance = new AnDomainQueryBuilder(new KConfig()); } return self::$_instance; }
/** * Return an instance of a builder. * * @return AnDomainQueryBuilder */ public static function getInstance() { if (!self::$_instance) { self::$_instance = new self(new KConfig()); } return self::$_instance; }
/** * Builds the query and return the string. * * @return string */ public function build() { return AnDomainQueryBuilder::getInstance()->build($this); }