PhpSpec\ObjectBehavior::offsetGet PHP Method

offsetGet() public method

Gets the value in a particular position in the ArrayAccess object
public offsetGet ( string | integer $key ) : Subject
$key string | integer
return PhpSpec\Wrapper\Subject
    public function offsetGet($key)
    {
        return $this->object->offsetGet($key);
    }