PhpSpec\ObjectBehavior::offsetExists PHP Method

offsetExists() public method

Checks if a key exists in case object implements ArrayAccess
public offsetExists ( string | integer $key ) : Subject
$key string | integer
return PhpSpec\Wrapper\Subject
    public function offsetExists($key)
    {
        return $this->object->offsetExists($key);
    }