@param string $name

@return $this|self
353308
public function setPlaceholder(string $name = null) : self
    {
        if (is_null($name)) {
            $this->field->removeAttribute('placeholder');
        } else {
            $this->field->addAttribute('placeholder', $name);
        }

        return $this;
    }
122762
public function removeParam(string $name): self
    {
        if (array_key_exists($name, $this->parameters)) {
            unset($this->parameters[$name]);
        }

        return $this;
    }
1001707
public function setName($name)
    {
        $this->name = $name;
        $this->setValue($this->form->getFieldValue($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);
    }
265944
public function remove($name)
    {
        if (isset($this->routes[$name])) {
            unset($this->routes[$name]);
        }

        return $this;
    }
1237098
public function setName(string $name): self
    {
        @trigger_error('Using Type::setName() is deprecated. Please use name property directly.', E_USER_DEPRECATED);

        $this->name = $name;
        $this->metadata = null;

        return $this;
    }
836441
public function setName($name)
    {
        $inflectMethod = $this->getInflectionMethod();
        $this->_name = Inflector::$inflectMethod($name);

        return $this;
    }
856276
public function removeData($name)
    {
        if (is_array($this->data)) {
            unset($this->data[$name]);
        } else {
            $this->data->$name = null;
        }

        return $this;
    }
48394
public function requireHelper($name)
    {
        $this->formatter->getDependencies()->setAsRequired(
            $this->helperName($name)
        );

        return $this;
    }
282447
public function remove(string $name): self{
        if(!array_key_exists($name, $this->routes)){
            return $this;
        }

        $route  = $this->routes[$name];
        $node   = $this->leaves[$route];

        unset($this->routes[$name]);
        unset($this->leaves[$route]);

        $node->removeRoute($route);

        while(0 === count($node->getRoutes()) && $node !== $node->getParent()){
            $parent = $node->getParent();

            $parent->removeChildNode($node);

            $node   = $parent;
        }

        return $this;
    }
696999
public function setName($name)
    {
        $name = Str::cast($name);

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

        return $this;
    }
731660
final public function withoutHeader($name): self
    {
        if (!$this->hasHeader($name)) {
            return clone $this;
        }

        $lowerName = strtolower($name);
        $name = $this->headerNames[$lowerName];

        $message = clone $this;
        unset($message->headers[$name], $message->headerNames[$lowerName]);
        return $message;
    }
547180
public function unsetElement($name)
    {
        if (isset($this->elements[$name])) {
            unset($this->elements[$name]);
        }

        return $this;
    }
843874
public function set($name, $value): self
    {
        if (!\is_array($value)) {
            $value = ['value' => (string)$value];
        }

        parent::set($name, \array_replace($this->defaults, $value));

        return $this;
    }
1002769
public function setName($name) {
    if (is_string($name)) {
      $name = Token::identifier($name);
    }
    $this->name->replaceWith($name);
    return $this;
  }
927479
public function removeParameter($name)
    {
        if ($this->hasParameter($name)) {
            $this->getParameterContainer()->remove($name);
        }
        return $this;
    }
1052163
public function setObjectName($name)
    {
        if (!is_null($name)) {
            $name = (string) $name;
        }

        $this->objectName = $name;
        return $this;
    }