You are here

public function ArrayObject::offsetSet in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/zendframework/zend-stdlib/src/ArrayObject.php \Zend\Stdlib\ArrayObject::offsetSet()

Sets the value at the specified key to value

Parameters

mixed $key:

mixed $value:

Return value

void

1 call to ArrayObject::offsetSet()
ArrayObject::__set in vendor/zendframework/zend-stdlib/src/ArrayObject.php
Sets the value at the specified key to value

File

vendor/zendframework/zend-stdlib/src/ArrayObject.php, line 308

Class

ArrayObject
Custom framework ArrayObject implementation

Namespace

Zend\Stdlib

Code

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