Canonical class used for faking canonical units. Here, the canonical resolver is registered with the global service, but no files are loaded from the filesystem.
The base path directory where the canonical definitions reside.
The singular, programmatic name of one of these canonical items.
Object mapping canonical names to loaded file references.
Object mapping canonical namespaces to resolver functions.
The current status of the unit.
The file suffix of files in the base path that should be loaded.
The global application instance.
Get the plural name of the canonical items provided by this unit.
Get a Universal path to the base directory where this unit loads its canonical files from.
Return an array of all loaded canonical names.
Get the global Application.
Get the global Container.
This method is called to stop the unit when the application is shutting down. Here, you should do any teardown required to stop the package cleanly.
IN PARTICULAR take care to free blocking resources that could prevent the process from exiting without a kill.
Get a canonical item by key.
Get the method with the given name from this class, bound to this class.
Called for each canonical item loaded from a file. This function should do any setup necessary and return the item that should be associated with the canonical name.
make() method on the global container.
Return an array of all loaded canonical namespaces.
Register a namespace resolver with the canonical unit.
Namespaces are canonical names that start with a particular key, beginning with the
which resolve their resources using a resolver function.
Resolve a canonical reference from its string form to a CanonicalReference.