code: public function setSlug(string $name, string $value): self
      {
          if (empty($value)) {
              unset($this->slugParameters[$name]);
              return $this;
          }
          $this->slugParameters[$name] = $value;
  
          return $this;
      }
docs: Add a slug parameter.
  
  @param string $name  The slug name.
  @param string $value The slug value.
  
  @return self