PhpSpec\Wrapper\Subject::offsetSet PHP Méthode

offsetSet() public méthode

public offsetSet ( string | integer $key, mixed $value )
$key string | integer
$value mixed
    public function offsetSet($key, $value)
    {
        $this->arrayAccess->offsetSet($key, $value);
    }

Usage Example

Exemple #1
0
 /**
  * Sets the value in a particular position in the ArrayAccess object
  *
  * @param string|integer $key
  * @param mixed          $value
  */
 public function offsetSet($key, $value)
 {
     $this->object->offsetSet($key, $value);
 }