Offers read-only properties related to application context.
This class offers read-only properties named after the existing createXxx methods. A "createConfig" method would offer a "config" attribute. These "createXxx" methods will be called only once, so that each represent a kind of singleton. This is useful for providing a global access to main application resources like configuration, request objects and such. Some methods are provided as a default behaviour.
Returns the object/scalar/array/whatever created by the method "createXxx" where "Xxx" = ucfirst($attr). If no such method exists, a ContextException is thrown.
Returns the object/scalar/array/whatever created by the method "createXxx" where "Xxx" = ucfirst($attr). If no such method exists, a ContextException is thrown.