original_string: protected function convertCookieToArray(CookieInterface $cookie)
      {
          return [
              'name' => $cookie->getName(),
              'value' => $cookie->getValue(),
              'path' => $cookie->getPath(),
              'domain' => $cookie->getDomain(),
              'secure' => $cookie->isSecure(),
              'httponly' => $cookie->isHttpOnly(),
              'expires' => $cookie->getFormattedExpires()
          ];
      }
code: protected function convertCookieToArray(CookieInterface $cookie)
      {
          return [
              'name' => $cookie->getName(),
              'value' => $cookie->getValue(),
              'path' => $cookie->getPath(),
              'domain' => $cookie->getDomain(),
              'secure' => $cookie->isSecure(),
              'httponly' => $cookie->isHttpOnly(),
              'expires' => $cookie->getFormattedExpires()
          ];
      }
code_tokens: protected function convertCookieToArray ( CookieInterface $ cookie ) { return [ 'name' => $ cookie -> getName ( ) , 'value' => $ cookie -> getValue ( ) , 'path' => $ cookie -> getPath ( ) , 'domain' => $ cookie -> getDomain ( ) , 'secure' => $ cookie -> isSecure ( ) , 'httponly' => $ cookie -> isHttpOnly ( ) , 'expires' => $ cookie -> getFormattedExpires ( ) ] ; }
docstring: Convert the cookie into an array of its properties.
  
  This method is compatible with older client code that
  expects date strings instead of timestamps.
  
  @param \Cake\Http\Cookie\CookieInterface $cookie Cookie object.
  @return array
docstring_tokens: Convert the cookie into an array of its properties .