How the Registry Works
The registry works by giving a place for components to store configuration directives and behaviors. The registry is a collection of key/value pairs. Each key is a unique identifier for the value it contains. Keys are then used by the core application and components to lookup those values in order to function according to their definition.
Each component and plugin defines for itself the set of items it wishes to add to the registry within a simple configuration file. This file is in a simple format called YAML, which allows developers to represents very simple data structures in human and machine readable form. The structure of this file is simple and mirrors the structure of the registry itself making it very simple to merge the key/value pairs found within it into the core registry.