code: public function set(
          $name,
          $value,
          $expirationTime = HttpCookie::DEFAULT_EXPIRATION_TIME
      ) {
          setcookie($name, $value, time() + $expirationTime, "/");
      }
docs: Sets a request attribute.
  
  @param string $name           Request attribute.
  @param mixed  $value          Request value.
  @param int    $expirationTime Expiration time (default is one year)
  
  @return void