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

Cache store plugins should extend an abstract class.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.4
    • Component/s: Caching
    • Labels:

      Description

      It's come to realize that cache store plugins really ought to be extending an abstract base class as well as implementing the interface.
      The reason being that should we need to extend the API in the future we cannot do it via the interface. We'd need to optionally support things in order not to break cache store plugins every time we make a change to their API.
      As such I'm purposing to sew an abstract base class into core now, it'll be very basic but will allow us to expand in the future much more readily.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  3/Dec/12