public function generate(array $requests, ParametersManager $parManager) { $twig = new TwigEngine(__DIR__); $param = array('routes' => RoutingRequest::filter($requests)); $this->create('src/Config/', 'routes.php', $twig->render('routes.php.twig', $param)); }