Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-4474

PHP generator use PSR-4 default

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.12.0
    • PHP - Compiler
    • None

    Description

      Before, PHP generator generate php files like Types.php, Service.php.
      Those can only be load via classmap method. The latest PSR about autoload is PSR-4.

      thrift compiler can generate PSR-4 code default, if want old-style code(which can only load via classmap), add classmap option.

      Attachments

        Issue Links

          Activity

            People

              Robert Lu Robert Lu
              Robert Lu Robert Lu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: