public function withoutAttribute($key)
    {
        $newAttributes = $this->attributes->withoutAttribute($key);
        $that = clone($this);
        $that->attributes = $newAttributes;
        return $that;
    }
public function withoutAttribute($key)
    {
        $newAttributes = $this->attributes->withoutAttribute($key);
        $that = clone($this);
        $that->attributes = $newAttributes;
        return $that;
    }
public function withoutAttribute ( $ key ) { $ newAttributes = $ this -> attributes -> withoutAttribute ( $ key ) ; $ that = clone ( $ this ) ; $ that -> attributes = $ newAttributes ; return $ that ; }
Returns a copy of the element with the attribute removed.

@param string $key
The offset to remove.
@return self
Returns a copy of the element with the attribute removed .