Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-59684

Allow plugins to specify PSR-4 namespaces

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Do
    • 3.4
    • None
    • Libraries
    • MOODLE_34_STABLE

    Description

      We have added support for PSR-4 (and PSR-0) in our auto loader so any PSR-4 compliant libraries in core can be autoloaded. However it makes sense to allow third party plugins to use this same code instead of having to include a PSR-4 autoloader (especially since we don't allow composer which would automatically include one when a PSR-4 library is added) See MDL-49672

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              johno John Okely
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: