I'm having a little trouble with PHP Closures.
Okay, so let's say I have:
$router->bind('~/~', function()
{
print "I'm on the home page";
});
$shel = new Shel($config, $router);
$shel->start();
Now, all my functions are called by Shel. Inside Shel, there's a function load(). Is there a way to call Shel::load() from the closure that I've binded, using $this?
Cheers!