public static function createLocated(
        Coordinate $coordinate,
        string $queryText,
        int $page = self::DEFAULT_PAGE,
        int $size = self::DEFAULT_SIZE
    ) {
        $query = self::create(
            $queryText,
            $page,
            $size
        );

        $query->coordinate = $coordinate;

        return $query;
    }
public static function createLocated(
        Coordinate $coordinate,
        string $queryText,
        int $page = self::DEFAULT_PAGE,
        int $size = self::DEFAULT_SIZE
    ) {
        $query = self::create(
            $queryText,
            $page,
            $size
        );

        $query->coordinate = $coordinate;

        return $query;
    }
public static function createLocated ( Coordinate $ coordinate , string $ queryText , int $ page = self :: DEFAULT_PAGE , int $ size = self :: DEFAULT_SIZE ) { $ query = self :: create ( $ queryText , $ page , $ size ) ; $ query -> coordinate = $ coordinate ; return $ query ; }
Create located Query.

@param Coordinate $coordinate
@param string     $queryText
@param int        $page
@param int        $size

@return Query
Create located Query .