RouteGroup.php __invoke()

public function __invoke(App $app = null)
{
.
.
.
$callable();
}

please modify $callable() to $callable($app)

use Container Resolution

http://www.slimframework.com/docs/objects/router.html#container-resolution