proem/proem — Issue #2: Implement a callback handler.
Author: trq
Created: 2011-12-07 09:57:04+00:00
State: open

Callbacks can come in the form of a simple anonymous function, or are often a method defined within a class. The framework will need a consistent way to handle both of these types.

Generally, anywhere that accepts a callback will also accept an array where the index holds a reference to the class where the method can be found and the value is the name of the method. eg;

```php