mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Gadgets
synced 2024-12-24 04:32:53 +00:00
087ab65e24
Cache array representation of the Gadget object instead of the php-serialized representation. Gadget::toArray() is an inverse of the constructor which already constructs an object from an array of config values. Also, the static Gadget::newFromDefinitionContent method which accesses the service container is replaced with the dependency-less serializeDefinition() method. Bug: T303194 Change-Id: Ieae6706537143d766777b2299c31726e2a1dfd29 |
||
---|---|---|
.. | ||
GadgetTest.php |