public function setOptions(PolylineOptions $polylineOptions)
    {
        $options = array_filter($polylineOptions->options);
        $this->options = ArrayHelper::merge($this->options, $options);
    }
public function setOptions(PolylineOptions $polylineOptions)
    {
        $options = array_filter($polylineOptions->options);
        $this->options = ArrayHelper::merge($this->options, $options);
    }
public function setOptions ( PolylineOptions $ polylineOptions ) { $ options = array_filter ( $ polylineOptions -> options ) ; $ this -> options = ArrayHelper :: merge ( $ this -> options , $ options ) ; }
Sets the options based on a PolylineOptions object

@param PolylineOptions $polylineOptions
Sets the options based on a PolylineOptions object