Define a new placeholder

@param   string $name
@param   string $value
@return  static|Route
430425
public function placeholder(string $name, string $value): self
    {
        $this->placeholders[$name] = $value;
        return $this;
    }
984544
final public function property($name, $value)
    {
        $this->definition->setProperty($name, static::processValue($value, true));

        return $this;
    }
34769
public function withClaim(string $name, $value): Builder
    {
        $this->claims[$name] = $value;

        return $this;
    }
366508
public function get($name, $value)
    {
        if ($this->has($name)) {
            return new self::$classMap[$name]($value);
        }

        return new Custom($name, $value);
    }
367379
public function withHeader(string $name, $value): Builder
    {
        $this->headers[$name] = $value;

        return $this;
    }
547987
public function addAttr($name, $value)
    {
        $name = trim($name);
        $value = trim($value);

        if ($value && !$this->existsAttr($name)) {
            $this->attrs[$name] = $value;
        }

        return $this;
    }
1239606
public function setEphemeral($name, $value)
    {
        $ephemeral                        = $this->get(self::EPHEMERAL);
        $ephemeral[$name][self::ACTIVE]   = true;
        $ephemeral[$name][self::VARIABLE] = $value;
        $this->set(self::EPHEMERAL, $ephemeral);

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

        return $this;
    }
269500
public function set(string $name, $value): self
    {
        $this->vars[$name] = $value;
        return $this;
    }
875690
public function set(string $name, string $value)
    {
        $this->values[$name] = $value;
        return $this;
    }
164812
public static function create(string $name, string $value = null): self
    {
        return new self($name, $value);
    }
818455
public function withHeader($name, $value): self
    {
        $this->assertHeaderName($name);

        $clone = clone $this;
        $clone->headers->set($name, $value);

        if ($clone->getStatusCode() === 200 && strtolower($name) === 'location') {
            $clone = $clone->withStatus(302);
        }

        return $clone;
    }
147533
public function setValue(string $name, $value): self
    {
        $this->data[$name] = $value;

        return $this;
    }
330266
public function addPost($name, $value = null)
    {
        if (is_array($name) && $value === null) {
            $this->postParams = array_merge($this->postParams, $name);
        } else {
            $this->postParams[$name] = $value;
        }

        return $this;
    }
311898
public function parameter(string $name, $value): HttpRequest
    {
        $this->parameters[$name] = $value;

        return $this;
    }
1265913
public function property($name, $value)
    {
        $this->_properties[$name] = new PropertyInjection($name, $value);
        return $this;
    }
1213549
public function withHeader($name, $value)
    {
        $instance = clone $this;
        $instance->headers->set($name, $value);
        return $instance;
    }