Add booking

@param \Wucdbm\Bundle\MenuBuilderBundle\Entity\RouteParameter $parameter

@return $this
424599
public function addParameter(\Wucdbm\Bundle\MenuBuilderBundle\Entity\RouteParameter $parameter) {
        $this->parameters[] = $parameter;

        return $this;
    }
1299309
public function setParameters(array $parameters)
    {
        $this->_parameters       = array();
        $this->_parameterNameMap = array();
        $this->addParameters($parameters);
        return $this;
    }
821042
public static function paramWithPreset($preset, $parameter) {
        if (empty($preset)) {
            throw new Maestrano_Config_Error('Empty preset name, make sure you are using \'Maestrano::with($marketplace)->someMethod()\'');
        }

        if (!array_key_exists($preset, self::$config)) {
            throw new Maestrano_Config_Error("Maestrano was not configured for preset '$preset'");
        }

        if (array_key_exists($parameter, self::$config[$preset])) {
            return self::$config[$preset][$parameter];
        } else {
            throw new Maestrano_Config_Error("Preset '$preset' does not contain parameter '$parameter'");
        }
    }
145992
public function withParameter(string $key, $parameter): self
    {
        if (Str::of($key)->empty()) {
            throw new DomainException;
        }

        $query = new self($this->cypher);
        $query->parameters = $this->parameters->put(
            $key,
            new Parameter($key, $parameter)
        );

        return $query;
    }
878598
private function appendQueryParameter($parameter)
    {
        preg_match($this->pattern, $parameter, $matches);

        if (empty($matches)) {
            return;
        }

        $operator = $matches[0];

        list($key, $value) = explode($operator, $parameter);

        if (strlen($value) == 0) {
            return;
        }

        if (( ! $this->isPredefinedParameter($key)) && $this->isLikeQuery($value)) {
            if ($operator == '=') {
                $operator = 'like';
            }
            if ($operator == '!=') {
                $operator = 'not like';
            }

            $value = str_replace('*', '%', $value);
        }

        $this->queryParameters[] = [
            'key' => $key,
            'operator' => $operator,
            'value' => $value
        ];
    }
539963
public function registerParameters($parameters = [])
    {
        foreach ($parameters as $name => $value) {
            $this->registerParameter($name, $value);
        }

        return $this;
    }
221277
public function insertParameter(ParameterNode $parameter, $index) {
    $this->parameters->insertItem($parameter, $index);
    return $this;
  }
1206387
public function setParameters($parameters)
    {
        // BC compatibility with 2.3-
        if (is_array($parameters)) {
            $parameterCollection = new ArrayCollection();

            foreach ($parameters as $key => $value) {
                $parameterCollection->add(new Parameter($key, $value));
            }

            $parameters = $parameterCollection;
        }

        $this->parameters = $parameters;

        return $this;
    }
671203
public ParameterBuilder addAll(Map<String, Object> parameters) {
        if (parameters != null) {
            for (String k : parameters.keySet()) {
                if (parameters.get(k) != null) {
                    this.parameters.put(k, parameters.get(k));
                }
            }
        }
        return this;
    }
351198
public function addParameter($name, $parameter)
  {
    if ($this->hasParameter($name)) {
      $this->parameters[$name]   = (array)$this->parameters[$name];
      $this->parameters[$name][] = $parameter;
    } else {
      $this->parameters[$name] = $parameter;
    }

    return $this->sortParameters();
  }
150675
public function with($parameters)
    {
        $this->parameters = array_merge($this->parameters, is_array($parameters) ? $parameters : func_get_args());

        return $this;
    }
657852
public function addDefaultBodyParameters($parameters)
    {
        foreach ($parameters as $name => $value) {
            $this->addDefaultBodyParameter($name, $value);
        }

        return $this;
    }
445925
public function on(String $parameter, $callback)
    {
        $this->settings['attr']['on']         = $parameter;
        $this->settings['attr']['onCallback'] = $this->stringOrCallback($callback);

        return $this;
    }
1122269
public function addParameter($parameters): self
    {
        $this->parameters = array_merge($this->parameters, (array) $parameters);

        return $this;
    }
588923
public function addParam(Parameter $param)
    {
        $this->parameters[$param->getName()] = $param;
        $param->setParent($this);

        return $this;
    }
683325
public function setParameter($parameter, $value, $type = null)
    {
        $this->parameters[$parameter] = $value;

        if ($type !== null) {
            $this->parameterTypes[$parameter] = $type;
        }

        if (is_int($parameter)) {
            $this->mode = self::MODE_POSITIONAL;
            $this->parameterCounters['positional']++;
        } else {
            $this->mode = self::MODE_NAMED;
        }

        return $this;
    }
139892
public function addParam($param, $value) {

    if (!$this->requestMethod->hasParam($param)) {
      throw new GiroCheckout_SDK_Exception_helper('Failure: param "' . $param . '" not valid or misspelled. Please check API Params List.');
    }

    if ($value instanceof GiroCheckout_SDK_Request_Cart) {
      $this->params[$param] = $value->getAllItems();
    }
    else {
      $this->params[$param] = $value;
    }

    return $this;
  }