original_string: public function getFlashCookieObject($name)
      {
          if (isset($_COOKIE[$name])) {
              $object = json_decode($_COOKIE[$name]);
              setcookie($name, '', time() - 3600, '/');
              return $object;
          }
  
          return null;
      }
code: public function getFlashCookieObject($name)
      {
          if (isset($_COOKIE[$name])) {
              $object = json_decode($_COOKIE[$name]);
              setcookie($name, '', time() - 3600, '/');
              return $object;
          }
  
          return null;
      }
code_tokens: public function getFlashCookieObject ( $ name ) { if ( isset ( $ _COOKIE [ $ name ] ) ) { $ object = json_decode ( $ _COOKIE [ $ name ] ) ; setcookie ( $ name , '' , time ( ) - 3600 , '/' ) ; return $ object ; } return null ; }
docstring: Return object and remove it from the cookie.
  
  @param string $name
  @return mixed|null
docstring_tokens: Return object and remove it from the cookie .