original_string: protected function validateName($name)
      {
          if (preg_match("/[=,;\t\r\n\013\014]/", $name)) {
              throw new InvalidArgumentException(
                  sprintf('The cookie name `%s` contains invalid characters.', $name)
              );
          }
  
          if (empty($name)) {
              throw new InvalidArgumentException('The cookie name cannot be empty.');
          }
      }
code: protected function validateName($name)
      {
          if (preg_match("/[=,;\t\r\n\013\014]/", $name)) {
              throw new InvalidArgumentException(
                  sprintf('The cookie name `%s` contains invalid characters.', $name)
              );
          }
  
          if (empty($name)) {
              throw new InvalidArgumentException('The cookie name cannot be empty.');
          }
      }
code_tokens: protected function validateName ( $ name ) { if ( preg_match ( "/[=,;\t\r\n\013\014]/" , $ name ) ) { throw new InvalidArgumentException ( sprintf ( 'The cookie name `%s` contains invalid characters.' , $ name ) ) ; } if ( empty ( $ name ) ) { throw new InvalidArgumentException ( 'The cookie name cannot be empty.' ) ; } }
docstring: Validates the cookie name
  
  @param string $name Name of the cookie
  @return void
  @throws \InvalidArgumentException
  @link https://tools.ietf.org/html/rfc2616#section-2.2 Rules for naming cookies.
docstring_tokens: Validates the cookie name