original_string: public static function getFormatDefinition(string $name): ?string
      {
          if (!self::$formats) {
              self::$formats = self::initFormats();
          }
  
          return isset(self::$formats[$name]) ? self::$formats[$name] : null;
      }
code: public static function getFormatDefinition(string $name): ?string
      {
          if (!self::$formats) {
              self::$formats = self::initFormats();
          }
  
          return isset(self::$formats[$name]) ? self::$formats[$name] : null;
      }
code_tokens: public static function getFormatDefinition ( string $ name ) : ? string { if ( ! self :: $ formats ) { self :: $ formats = self :: initFormats ( ) ; } return isset ( self :: $ formats [ $ name ] ) ? self :: $ formats [ $ name ] : null ; }
docstring: Gets the format for a given name.
  
  @param string $name The format name
  
  @return string|null A format string
docstring_tokens: Gets the format for a given name .