protected function setupContainer()
{
$this->container->bindIf('files', function () {
return new Filesystem();
}, true);
$this->container->bindIf('events', function () {
return new Dispatcher();
}, true);
$this->container->bindIf('config', function () {
return ['view.paths' => (array) $this->viewPaths, 'view.compiled' => $this->cachePath];
}, true);
}