Skip to content
Snippets Groups Projects
Commit fb24617d authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Action pour générer tous les fichiers automatiques

parent 06bc0cdd
No related branches found
No related tags found
No related merge requests found
Pipeline #23658 passed
<?php
/**
* @var $this \Application\View\Renderer\PhpRenderer
* @var $controller \Laminas\Mvc\Controller\AbstractController
* @var $container \Psr\Container\ContainerInterface
* @var $viewName string
* @var $viewFile string
*/
$cg = \UnicaenCode\Util::codeGenerator();
$inspec = \UnicaenCode\Util::introspection();
$modules = $inspec->getModules();
foreach( $modules as $module ){
$cg->generer('templateMap', ['module' => $module['name']]);
$cg->generer('autoloadClassmap', ['module' => $module['name']]);
}
$cg->generer('applicationPhpRenderer');
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment