Commit 5f975d07 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Petits machins

parent 1d7a4cbb
Loading
Loading
Loading
Loading
+0 −1155

File deleted.

Preview size limit exceeded, changes collapsed.

+29 −5
Changes for code/test4.php: 29 added lines, 5 removed lines.
Original line number Diff line number Diff line
@@ -9,11 +9,35 @@
 */


/** @var \Application\Service\IntervenantService $si */
$si = $container->get(\Application\Service\IntervenantService::class);
$cg = \UnicaenCode\Util::codeGenerator();

$intervenant = $container->get(\Application\Service\IntervenantService::class)->get(195999);

$params = [
    'generator' => 'AwareInterface',
    //'write'     => false,
    'echo'      => true,

$data = $si->isImportable($intervenant);
var_dump($data);
 No newline at end of file
    'classname' => \Plafond\Service\PlafondService::class,
    //'useGetter' => true,
    'subDir'    => false,
];


$cg->generate($params);


$cg = \UnicaenCode\Util::codeGenerator();


$params = [
    'generator' => 'Factory',
    //'write'     => false,
    'echo'      => true,

    'classname' => \Plafond\Form\PlafondApplicationForm::class,
    'subDir'    => true,
    'type'      => 'Form',
];


$cg->generate($params);
 No newline at end of file
+3 −2
Changes for config/autoload/unicaen-code.global.php: 3 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -6,8 +6,9 @@ $settings = [
    'generator-output-dir' => '/app/cache/UnicaenCode',
    'namespaces'           => [
        'services'  => [
            'Application',
            'UnicaenImport',
            //'Application',
            'Plafond',
            'Indicateur',
        ],
        'forms'     => [
            'Application\Form',
+1 −1
Changes for module/Application/src/Application/ConfigFactory.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@ class ConfigFactory

            'view_manager' => [
                'template_path_stack' => [
                    $dir . '/view',
                    $namespace => $dir . '/view',
                ],
            ],
        ];
+3 −3
Changes for module/Plafond/autoload_classmap.php: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -14,9 +14,9 @@ return [
    'Plafond\Form\PlafondApplicationFormAwareTrait'       => __DIR__ . '/src/Plafond/Form/PlafondApplicationFormAwareTrait.php',
    'Plafond\Form\PlafondApplicationFormFactory'          => __DIR__ . '/src/Plafond/Form/PlafondApplicationFormFactory.php',
    'Plafond\Module'                                      => __DIR__ . '/Module.php',
    'Plafond\Processus\PlafondProcessus'                  => __DIR__ . '/src/Processus/PlafondProcessus.php',
    'Plafond\Processus\PlafondProcessusAwareTrait'        => __DIR__ . '/src/Processus/PlafondProcessusAwareTrait.php',
    'Plafond\Processus\PlafondProcessusFactory'           => __DIR__ . '/src/Processus/PlafondProcessusFactory.php',
    'Plafond\Processus\PlafondProcessus'                  => __DIR__ . '/src/Plafond/Processus/PlafondProcessus.php',
    'Plafond\Processus\PlafondProcessusAwareTrait'        => __DIR__ . '/src/Plafond/Processus/PlafondProcessusAwareTrait.php',
    'Plafond\Processus\PlafondProcessusFactory'           => __DIR__ . '/src/Plafond/Processus/PlafondProcessusFactory.php',
    'Plafond\Service\PlafondApplicationService'           => __DIR__ . '/src/Plafond/Service/PlafondApplicationService.php',
    'Plafond\Service\PlafondApplicationServiceAwareTrait' => __DIR__ . '/src/Plafond/Service/PlafondApplicationServiceAwareTrait.php',
    'Plafond\Service\PlafondApplicationServiceFactory'    => __DIR__ . '/src/Plafond/Service/PlafondApplicationServiceFactory.php',