l3pp4rd/DoctrineExtensions — Issue #216: childOpen ideally should be a Closure
Author: PorridgeBear
Created: 2011-12-30 19:18:11+00:00
State: open

It would be really handy to be able to specify childOpen as a closure. In my case I want control of the li styling based on the node.

```php
'childOpen' => function($node) {
return '
';
},
```

But I get

Catchable Fatal Error: Object of class Closure could not be converted to string in