Пример #1
0
 /**
  * @inheritdoc
  * @param array $config
  */
 public function __construct($config = [])
 {
     $this->params = ArrayHelper::merge(['origin' => null, 'destination' => null, 'mode' => null, 'waypoints' => null, 'alternatives' => null, 'avoid' => null, 'language' => null, 'units' => null, 'region' => null, 'departure_time' => null, 'arrival_time' => null], $this->params);
     parent::__construct($config);
 }
 /**
  * @inheritdoc
  * @param array $config
  */
 public function __construct($config = [])
 {
     $this->params = ArrayHelper::merge(['origins' => null, 'destinations' => null, 'mode' => null, 'avoid' => null, 'units' => null, 'arrival_time' => null, 'departure_time' => null, 'traffic_model' => null, 'transit_mode' => null, 'transit_routing_preference' => null, 'language' => null], $this->params);
     parent::__construct($config);
 }
 /**
  * @inheritdoc
  * @param array $config
  */
 public function __construct($config = [])
 {
     $this->params = ArrayHelper::merge(['location' => null, 'radius' => null, 'language' => null, 'minprice' => null, 'maxprice' => null, 'opennow' => null, 'types' => null, 'pagetoken' => null], $this->params);
     parent::__construct($config);
 }
 /**
  * @inheritdoc
  * @param array $config
  */
 public function __construct($config = [])
 {
     $this->params = ArrayHelper::merge(['address' => null, 'components' => null, 'bounds' => null, 'location' => null, 'region' => null, 'language' => null], $this->params);
     parent::__construct($config);
 }
 /**
  * @inheritdoc
  */
 public function __construct($config = [])
 {
     $this->params = ArrayHelper::merge(['locations' => null, 'path' => null, 'samples' => null], $this->params);
     parent::__construct($config);
 }
 /**
  * @inheritdoc
  * @param array $config
  */
 public function __construct($config = [])
 {
     $this->params = ArrayHelper::merge(['placeid' => null, 'extensions' => null, 'language' => null], $this->params);
     parent::__construct($config);
 }