original_string: final public static function getMembers(): array
      {
          if (!isset(self::$constants[static::class])) {
              $reflection = new ReflectionClass(static::class);
              $constants = self::sortConstants($reflection);
              self::guardConstants($constants);
              self::$constants[static::class] = $constants;
          }
  
          return self::$constants[static::class];
      }
code: final public static function getMembers(): array
      {
          if (!isset(self::$constants[static::class])) {
              $reflection = new ReflectionClass(static::class);
              $constants = self::sortConstants($reflection);
              self::guardConstants($constants);
              self::$constants[static::class] = $constants;
          }
  
          return self::$constants[static::class];
      }
code_tokens: final public static function getMembers ( ) : array { if ( ! isset ( self :: $ constants [ static :: class ] ) ) { $ reflection = new ReflectionClass ( static :: class ) ; $ constants = self :: sortConstants ( $ reflection ) ; self :: guardConstants ( $ constants ) ; self :: $ constants [ static :: class ] = $ constants ; } return self :: $ constants [ static :: class ] ; }
docstring: Retrieves enum member names and values
  
  @return array
  
  @throws DomainException When more than one constant has the same value
docstring_tokens: Retrieves enum member names and values