function public function ArrayObject::offsetSet

8.x-3.x ArrayObject.php public ArrayObject::offsetSet($key, $value)

Sets the value at the specified key to value.

Parameters

mixed $key: A key.

mixed $value: A value.

Class

ArrayObject
Custom ArrayObject implementation.

Namespace

Drupal\bootstrap\Utility

Source src/Utility/ArrayObject.php (line 331)

public function offsetSet($key, $value) {
  $this->array[$key] = $value;
}