PhpSpec\ObjectBehavior::offsetSet PHP Méthode

offsetSet() public méthode

Sets the value in a particular position in the ArrayAccess object
public offsetSet ( string | integer $key, mixed $value )
$key string | integer
$value mixed
    public function offsetSet($key, $value)
    {
        $this->object->offsetSet($key, $value);
    }