original_string: public function setCookieValue(string $name, string $value, ?\DateTimeInterface $expiry = null, ?UrlPathInterface $path = null, ?HostInterface $domain = null, bool $isSecure = false, bool $isHttpOnly = false): void
      {
          $this->cookies->set($name, new ResponseCookie($value, $expiry, $path, $domain, $isSecure, $isHttpOnly));
      }
code: public function setCookieValue(string $name, string $value, ?\DateTimeInterface $expiry = null, ?UrlPathInterface $path = null, ?HostInterface $domain = null, bool $isSecure = false, bool $isHttpOnly = false): void
      {
          $this->cookies->set($name, new ResponseCookie($value, $expiry, $path, $domain, $isSecure, $isHttpOnly));
      }
code_tokens: public function setCookieValue ( string $ name , string $ value , ? \ DateTimeInterface $ expiry = null , ? UrlPathInterface $ path = null , ? HostInterface $ domain = null , bool $ isSecure = false , bool $ isHttpOnly = false ) : void { $ this -> cookies -> set ( $ name , new ResponseCookie ( $ value , $ expiry , $ path , $ domain , $ isSecure , $ isHttpOnly ) ) ; }
docstring: Sets a cookie value.
  
  @since 1.1.0
  
  @param string                  $name       The name.
  @param string                  $value      The value.
  @param \DateTimeInterface|null $expiry     The expiry time or null if no expiry time.
  @param UrlPathInterface|null   $path       The path or null if no path.
  @param HostInterface|null      $domain     The domain or null if no domain.
  @param bool                    $isSecure   True if cookie is secure, false otherwise.
  @param bool                    $isHttpOnly True if cookie is http only, false otherwise.
  
  @throws InvalidResponseCookiePathException If the path is not a directory or an absolute path.
docstring_tokens: Sets a cookie value .