jtopjian/gluephp — pull request #4 by shesek (2012-12-10 06:25:36+00:00)
Title: Allow object to be passed instead of class names

I know you said you don't accept pull requests, but this is a really tiny one that gives much value. It lets build you controllers dynamically, for example:

```php
class ViewRenderer {
public function __construct($path) {
$this->path = $path;
}
public function GET() {
// render $this->path
}
}

glue::stick(array(
'about' => new ViewRenderer('about.tpl')
));
```

You could eliminate a lot of boilerplate by writing dynamic controllers for common needs, and just configuring them each time. And its a really tiny change :)