protected function setupEventFiring(Container $app)
    {
        $app['view']->composer('*', function ($view) use ($app) {
            if ($view instanceof View) {
                $app['events']->dispatch('content.rendering', [$view]);
            }
        });
    }