You are here

public function ArrayObject::offsetSet in Express 8

Sets the value at the specified key to value.

Parameters

mixed $key: A key.

mixed $value: A value.

4 calls to ArrayObject::offsetSet()
ArrayObject::__set in themes/contrib/bootstrap/src/Utility/ArrayObject.php
Sets the value at the specified key to value.
Attributes::setAttribute in themes/contrib/bootstrap/src/Utility/Attributes.php
Sets an attribute on the array.
Element::__set in themes/contrib/bootstrap/src/Utility/Element.php
Magic set method.
Variables::map in themes/contrib/bootstrap/src/Utility/Variables.php
Maps an element's properties to the variables attributes array.

File

themes/contrib/bootstrap/src/Utility/ArrayObject.php, line 335
Contains \Drupal\bootstrap\Utility\ArrayObject.

Class

ArrayObject
Custom ArrayObject implementation.

Namespace

Drupal\bootstrap\Utility

Code

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