You are here

public function ArrayObject::__set in Express 8

Sets the value at the specified key to value.

Parameters

mixed $key: A key.

mixed $value: A value.

1 method overrides ArrayObject::__set()
Element::__set in themes/contrib/bootstrap/src/Utility/Element.php
Magic set method.

File

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

Class

ArrayObject
Custom ArrayObject implementation.

Namespace

Drupal\bootstrap\Utility

Code

public function __set($key, $value) {
  $this
    ->offsetSet($key, $value);
}