Assert that the response view is missing a piece of bound data.

@param  string  $key
@return $this
962640
public function assertViewMissing($key)
    {
        if (! isset($this->response->original) || ! $this->response->original instanceof View) {
            return PHPUnit::assertTrue(false, 'The response was not a view.');
        }

        PHPUnit::assertArrayNotHasKey($key, $this->response->original->getData());

        return $this;
    }
165033
function del($key)
    {
        if ($this->has($key)) {
            $p = &$this->__attainInternalPointer();
            unset($p[$key]);
        }

        return $this;
    }
748377
public function getHeader($key)
    {
        foreach ($this->responseHeaders as $k => $v) {
            if (\strtoupper($key) === \strtoupper($k)) {
                return $v;
            }
        }

        throw new ResponseException(\sprintf('header "%s" not set', $key));
    }
914626
private function evaluateAndGet($key)
    {
        $valTO = $this->evaluate($key);
        $this->setValue($key, $valTO);

        if ($valTO->fails()) {
            $this->err_num++;
        }
    }
900002
public function __isset($key)
    {
        if (!isset($this->_object) && $key == $this->_property) {
            return isset($this->_value);
        }

        return parent::__isset($key);
    }
1058355
public function clear($key = null)
    {
        if (func_num_args() === 0) {
            $this->attributes = array();
        } elseif ($key === '$id') {
            throw new Exception('[Norm/Model] Restricting clear for $id.');
        } else {
            unset($this->attributes[$key]);
        }

        return $this;
    }
1018717
public function isCached($key) {
    if (false != $this->_loadCache()) {
      $cachedData = $this->_loadCache();
      return isset($cachedData[$key]['data']);
    }
  }
748421
public function unsetData($key = null)
    {
        if (is_string($key) && 0 < strlen($key)) {
            unset($this->data[$key]);
        } else {
            $this->data = [];
        }

        return $this;
    }
450927
public function forget($key)
    {
        $this->checkLoaded();

        $this->unsaved = true;

        Arr::forget($this->data, $key);

        return $this;
    }
548251
public function __isset(string $key)
    {
        if (method_exists($this, $key)) {
            return true;
        }

        return isset($this->wrappedObject->$key);
    }
570538
public function assertViewHas($key, $value = null)
    {
        if (is_array($key)) {
            return $this->assertViewHasAll($key);
        }

        if (! isset($this->response->original) || ! $this->response->original instanceof View) {
            return PHPUnit::assertTrue(false, 'The response was not a view.');
        }

        if (is_null($value)) {
            PHPUnit::assertArrayHasKey($key, $this->response->original->getData());
        } elseif ($value instanceof Closure) {
            PHPUnit::assertTrue($value($this->response->original->$key));
        } else {
            PHPUnit::assertEquals($value, $this->response->original->$key);
        }

        return $this;
    }
668969
final public function __isset($key)
	{
		return	array_key_exists($key, $this->_stack) && isset($this->_stack[$key]);
	}
636651
public function __isset($key) {
        if (method_exists($this, 'get_'.$key)) {
            $val = $this->{'get_'.$key}();
            return !empty($val);
        }
        return !empty($this->properties->{$key});
    }
489222
public function setDevKey($key)
    {
        $this->validator->validateDeveloperKey($key);

        $this->devKey = $key;

        return $this;
    }
174759
public function & __get($key)
    {
        if (array_key_exists($key, $this->_data))
        {
            return $this->_data[$key];
        }
        elseif (array_key_exists($key, View::$_globalData))
        {
            return self::$_globalData[$key];
        }
        else
        {
            throw new ViewException('View variable is not set: :var', [
                ':var' => $key
            ]);
        }
    }
399427
public function setKey($key) {
        if(!$this->setModified('key', $key)->isModified()) {
            return $this;
        }
		$this->key = $key;
		return $this;
    }
53796
public function isEmpty($key = null)
    {
        if ($key === null) {
            return empty($this->data);
        }
        return empty($this->data[$key]);
    }