registration: Make it easier for other code to get extension metadata
authorKunal Mehta <legoktm@gmail.com>
Wed, 1 Apr 2015 20:42:21 +0000 (13:42 -0700)
committerKunal Mehta <legoktm@gmail.com>
Wed, 1 Apr 2015 20:42:21 +0000 (13:42 -0700)
commit79e5e162575d2b321c7248d1023d165d9c5f81f4
treef22bbb879d68153d99bc05da12425501bd14b83c
parenta93c41542ef7c9d2093e2017f1188568410b8178
registration: Make it easier for other code to get extension metadata

Right now if other code wanted to access extension metadata from
extension.json, it would have to either re-implement parts of
loadFromQueue() or make assumptions about the processor and schema being
used.

Lets split that code out in to a public readFromQueue() function that
returns all extracted data from the processors.

Change-Id: I314d73341d3faaa47e01f722123c20fd8f61da8a
includes/registration/ExtensionRegistry.php