original_string: public function get($name)
      {
          $key = mb_strtolower($name);
          foreach ($this->cookies as $cookie) {
              if (mb_strtolower($cookie->getName()) === $key) {
                  return $cookie;
              }
          }
  
          return null;
      }
code: public function get($name)
      {
          $key = mb_strtolower($name);
          foreach ($this->cookies as $cookie) {
              if (mb_strtolower($cookie->getName()) === $key) {
                  return $cookie;
              }
          }
  
          return null;
      }
code_tokens: public function get ( $ name ) { $ key = mb_strtolower ( $ name ) ; foreach ( $ this -> cookies as $ cookie ) { if ( mb_strtolower ( $ cookie -> getName ( ) ) === $ key ) { return $ cookie ; } } return null ; }
docstring: Get the first cookie by name.
  
  @param string $name The name of the cookie.
  @return \Cake\Http\Cookie\CookieInterface|null
docstring_tokens: Get the first cookie by name .