original_string: public function getCookie($name)
      {
          $this->buildCookieCollection();
          if (!$this->cookies->has($name)) {
              return null;
          }
  
          return $this->cookies->get($name)->getValue();
      }
code: public function getCookie($name)
      {
          $this->buildCookieCollection();
          if (!$this->cookies->has($name)) {
              return null;
          }
  
          return $this->cookies->get($name)->getValue();
      }
code_tokens: public function getCookie ( $ name ) { $ this -> buildCookieCollection ( ) ; if ( ! $ this -> cookies -> has ( $ name ) ) { return null ; } return $ this -> cookies -> get ( $ name ) -> getValue ( ) ; }
docstring: Get the value of a single cookie.
  
  @param string $name The name of the cookie value.
  @return string|array|null Either the cookie's value or null when the cookie is undefined.
docstring_tokens: Get the value of a single cookie .