code: public static function snake2pascal(string $snake): string
      {
          $nameParts = explode("_", $snake);
          $nameParts = array_map("ucfirst", $nameParts);
          return implode("", $nameParts);
      }
docs: Converts a snake_case string to it's PascalCase equivalent.
  
  @param string $snake The snake_case string to convert.
  @return string Return the PascalCase equivalent.