Thread "Composer-Classmap and Autoloading for ILIAS-Classes"

Tabs

  • fschmid
    fschmid | fschmid (Moderation) | 21. Jun 2017, 08:34 Select
    Edited on: 21. Jun 2017, 08:35 - by fschmid | fschmid
    Composer-Classmap and Autoloading for ILIAS-Classes

    Dear Developers

    The PullRequest #541 (https://github.com/ILIAS-eLearning/ILIAS/pull/541 ) has been accepted during JF last monday and merged to trunk this morning. It uses the composer classmap-feature to provide autoloading for all ILIAS-Classes in /Services and /Modules (no need for require_once or include_once anymore). Additionally it provides faster autoloading for all dependencies since there are no filesystem-accesses needed.

    To use the classmap-autoloading for new ILIAS-classes in trunk, the classmap must be updated. Have a look at the README.md located in /libs/composer:

    https://github.com/ILIAS-eLearning/ILIAS/tree/trunk/libs/composer#updating-class-map

    If there are any question, feel free to start the discussion here in this forum-thread.

    Best regards

    Fabian