/** * @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(['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); }