Lines Matching refs:value
49 * Sets (overwrites) the value at the given key.
52 * @param mixed $value Key Value
56 public function setParam($key, $value)
58 $this->_params[$key] = $value;
83 * @param mixed $value Value to set
87 public function addParam($key, $value, ?string $subKey = null)
90 $this->_params[$key][$subKey] = $value;
92 $this->_params[$key][] = $value;
105 * @return mixed Key value
158 foreach ($array as $key => $value) {
159 if ($value instanceof ArrayableInterface) {
160 $arr[$value instanceof NameableInterface ? $value->getName() : $key] = $value->toArray();
161 } elseif (\is_array($value)) {
162 $arr[$key] = $this->_convertArrayable($value);
164 $arr[$key] = $value;
187 * @param mixed $value
191 protected function _setRawParam($key, $value)
193 $this->_rawParams[$key] = $value;