PHP Ergo Namespace

Nested Namespaces

Ergo\Application
Ergo\Config
Ergo\Error
Ergo\Http
Ergo\Logging
Ergo\Routing
Ergo\Tests
Ergo\View

Interfaces

Name Description
Config A configuration object which provides an interface to key-based configuration information for an application
Factory A factory used for object creation
Plugin A plugin is a component that is used to extend an {@link Application} in a modular way
SingletonFactory A factory that returns a single instance, which can be cleared
View A view represents a component which has a user-facing "view"

Classes

Name Description
Application The foundation and central lookup mechanism for a web application, reference by the static {@link Ergo} object
CallbackFactory
ClassLoader Basic SPL class loader
Decorator A generic decorator for forwarding method calls and property access to a delegate
Middleware A middleware for altering the request and response
Mixin A class that promotes composition by collecting mixin objects and delegating calls to those objects as though they were one object
Prototype A factory that returns a clone of an object
Registry A service locator object that maps keys to object instances. Can either store actual instances, or lazily create objects when provided with a closure or a {@link Factory} object.
RegistryHandle A handle to a specific registry key
RegistryProxy A proxy for an item in the registry, looked up on each call
Script A simple wrapper around a php script
ScriptFactory A factory that uses and \Ergo\Script to generate an object