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