public function setCoordinate(Coordinate $coordinate): self
    {
        $this->options['coordX'] = $coordinate->getLatitude();
        $this->options['coordY'] = $coordinate->getLongitude();

        return $this;
    }
public function setCoordinate(Coordinate $coordinate): self
    {
        $this->options['coordX'] = $coordinate->getLatitude();
        $this->options['coordY'] = $coordinate->getLongitude();

        return $this;
    }
public function setCoordinate ( Coordinate $ coordinate ) : self { $ this -> options [ 'coordX' ] = $ coordinate -> getLatitude ( ) ; $ this -> options [ 'coordY' ] = $ coordinate -> getLongitude ( ) ; return $ this ; }
Set coordinate to get nearby stops.

@param Coordinate $coordinate

@return $this
Set coordinate to get nearby stops .