Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-17957

Allow extensions to register with PHP classloader (PSR-4)

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7
    • Fix Version/s: 4.7.2
    • Component/s: Extension System
    • Labels:
    • Documentation Required?:
      Developer Doc
    • Funding Source:
      Core Team Funds

      Description

      In an extension's info.xml file, accept markup like

      <classloader>
      <psr4 prefix="Civi\" path="Civi" />
      </classloader>

      <classloader>
      <psr4 prefix="Civi\Foo\" path="src" />
      </classloaderc>

        Attachments

          Activity

            People

            • Assignee:
              timotten Tim Otten
              Reporter:
              timotten Tim Otten
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: