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

Allow plugins to specify PSR-4 namespaces

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 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
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: