joomla/jissues — pull request #167 by elkuku (2013-11-04 15:15:32+00:00)
Title: Pass the container

So this is an attempt to pass the Container obejct around instead of accessing it using a static method.

It doesn't look that bad, unfortunately it's not working :(
It behaves very funky, impossible to debug, going into untraceable infinite loops....

Sometimes I get a
```
( ! ) Fatal error: Uncaught exception 'Exception' with message 'Serialization of 'Closure' is not allowed' in [no active file] on line 0
( ! ) Exception: Serialization of 'Closure' is not allowed in [no active file] on line 0
```
Which isn't very helpful either....

Too bad we haven't any unit or system tests, but I already managed to break the one we have ;)

Ideas ?