gravitano/widget — pull request #5 by yaapis (2014-07-09 00:31:50+00:00)
Title: Closure improvement + tests

Now we can set closure as a path to class or class with method like this:
Widget::register('awesome', 'Acme\Widgets\Header@run');
Widget::register('awesome2', 'Acme\Widgets\Footer');

And I think it's better to have one interface in methods call (
@awesome() - for widget
@sidebar() - for group
)