offsetSet() public method

public offsetSet ( string | integer $key, mixed $value )
$key string | integer
$value mixed
Example #1
0
 /**
  * @param string|integer $key
  * @param mixed          $value
  */
 public function offsetSet($key, $value)
 {
     $this->arrayAccess->offsetSet($key, $value);
 }
Example #2
0
 /**
  * @param string|integer $key
  * @param mixed          $value
  *
  * @return Subject
  */
 public function offsetSet($key, $value)
 {
     return $this->wrap($this->arrayAccess->offsetSet($key, $value));
 }