extension('framework', [ 'secret' => 'S0ME_SECRET' ]); $services = $container->services()->defaults()->autowire()->autoconfigure(); $services->set(Manager::class)->configurator([DatabaseFactory::class, 'create']); $services->load('Krzysiej\\RyobiCrawler\\', __DIR__ ) ->exclude('../src/{Models,Twig,DatabaseFactory.php,Kernel.php}'); $services->set('twig.extension', AppExtension::class)->tag('twig.extension'); } protected function configureRoutes(RoutingConfigurator $routes): void { $routes->import(__DIR__ . '/Controller/', 'attribute'); } }