@param string $name

@return self
321039
public function removeAttr(string $name): self {
        $this->collection()->each(function($node) use($name) {
            if ($node instanceof \DOMElement) {
                $node->removeAttribute($name);
            }
        });

        return $this;
    }
1064875
public function withParameter(string $name, ?string $value): self
    {
        if ($value !== null) {
            $this->parameters[$name] = $value;

        } else {
            unset($this->parameters[$name]);
        }

        return $this;
    }
653631
public function setName($name)
    {
        $this->name = (string)$name;
        $this->getEntry()
             ->setName($this->name);
        return $this;
    }
964420
public function remove($name)
    {
        //argument 1 must be a string
        Argument::i()->test(1, 'string');

        $this->set($name, null, time() - 3600);

        unset($_COOKIE[$name]);

        return $this;
    }
181789
protected function removeItemWithoutPriority(string $name): self
    {
        foreach ($this->items as $priority => $items) {
            if (isset($items[$name])) {
                unset($this->items[$priority][$name]);
            }
        }

        return $this;
    }
1082690
public function set_response_name($name)
    {
        if (!empty($this->name)) {
            unset(self::$responses[$this->name]);
        }
        $this->name = $name;
        self::$responses[$this->name] = $this;

        return $this;
    }
1018682
public function using(string $name): self
    {
        if (!isset($this->providers[$name])) {
            throw ProviderNotRegistered::create($name ?? '', $this->providers);
        }

        $this->provider = $this->providers[$name];

        return $this;
    }
927479
public function removeParameter($name)
    {
        if ($this->hasParameter($name)) {
            $this->getParameterContainer()->remove($name);
        }
        return $this;
    }
66475
public function withoutHeader($name): self
    {
        $this->assertHeaderName($name);

        $clone = clone $this;
        $clone->headers->remove($name);

        return $clone;
    }
558770
public function remove($name)
    {
        unset($this->_definitions[$name], $this->_instances[$name], $this->{$name});

        return $this;
    }
313089
public function withName(string $name) : Table
    {
        if ($this->name === $name) {
            return $this;
        }

        return new self($name, $this->columns, $this->indexes, $this->foreignKeys);
    }
819399
public function setName(string $name): self
    {
        if (empty($name)) {
            throw new \InvalidArgumentException("Group name can not be empty");
        }
        $this->name = $name;
        return $this;
    }
269500
public function set(string $name, $value): self
    {
        $this->vars[$name] = $value;
        return $this;
    }
696999
public function setName($name)
    {
        $name = Str::cast($name);

        $this->name = $name->lower();

        return $this;
    }
1230140
final public function collection($name = '')
    {
        return new self($this->collection, $this->name.$name, $this, $this->prefixes);
    }
606727
public function setActive($name) {
		$element = $this->getElement($name);
		
		if ($element instanceof Element) {
			$element->setActive();
		}
		
		return $this;
	}
824271
final public function setParameter(string $name, $value) : self
    {
        $this->parameters[$name] = $value;
        return $this;
    }