@@ -27,7 +27,7 @@ |
||
27 | 27 | protected function execute(InputInterface $input, OutputInterface $output) |
28 | 28 | { |
29 | 29 | $metadata = $this->getContainer()->get('doctrine.orm.entity_manager')->getClassMetadata("StarkerxpCampagneBundle:Template2") |
30 | - ; |
|
30 | + ; |
|
31 | 31 | dump($metadata); |
32 | 32 | |
33 | 33 | } |
@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | |
13 | 13 | class EventController extends StructureController |
14 | 14 | { |
15 | - /** |
|
15 | + /** |
|
16 | 16 | * @ApiDoc( |
17 | 17 | * resource=true, |
18 | 18 | * description="Liste les events.", |
@@ -72,12 +72,12 @@ discard block |
||
72 | 72 | } |
73 | 73 | |
74 | 74 | |
75 | - /** |
|
75 | + /** |
|
76 | 76 | * @ApiDoc( |
77 | 77 | * resource=true, |
78 | 78 | * description="Affiche un event.", |
79 | 79 | * section="Campagne", |
80 | - * requirements={ |
|
80 | + * requirements={ |
|
81 | 81 | * { |
82 | 82 | * "name"="campagne_id", |
83 | 83 | * "dataType"="integer", |
@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | return new JsonResponse($retour); |
120 | 120 | } |
121 | 121 | |
122 | - /** |
|
122 | + /** |
|
123 | 123 | * @ApiDoc( |
124 | 124 | * resource=true, |
125 | 125 | * description="Ajoute un event.", |
@@ -147,12 +147,12 @@ discard block |
||
147 | 147 | return new JsonResponse(["payload" => $this->getFormErrors($form)], 400); |
148 | 148 | } |
149 | 149 | |
150 | - /** |
|
150 | + /** |
|
151 | 151 | * @ApiDoc( |
152 | 152 | * resource=true, |
153 | 153 | * description="Modifie un event.", |
154 | 154 | * section="Campagne", |
155 | - * requirements={ |
|
155 | + * requirements={ |
|
156 | 156 | * { |
157 | 157 | * "name"="campagne_id", |
158 | 158 | * "dataType"="integer", |
@@ -191,12 +191,12 @@ discard block |
||
191 | 191 | return new JsonResponse(["payload" => $this->getFormErrors($form)], 400); |
192 | 192 | } |
193 | 193 | |
194 | - /** |
|
194 | + /** |
|
195 | 195 | * @ApiDoc( |
196 | 196 | * resource=true, |
197 | 197 | * description="Supprime un event.", |
198 | 198 | * section="Campagne", |
199 | - * requirements={ |
|
199 | + * requirements={ |
|
200 | 200 | * { |
201 | 201 | * "name"="campagne_id", |
202 | 202 | * "dataType"="integer", |
@@ -20,7 +20,7 @@ |
||
20 | 20 | public function load(array $configs, ContainerBuilder $container) |
21 | 21 | { |
22 | 22 | $configuration = new Configuration(); |
23 | - $this->processConfiguration($configuration, $configs); |
|
23 | + $this->processConfiguration($configuration, $configs); |
|
24 | 24 | |
25 | 25 | $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
26 | 26 | $loader->load('services.yml'); |
@@ -9,7 +9,7 @@ |
||
9 | 9 | class CampagneCibleManager extends AbstractManager |
10 | 10 | { |
11 | 11 | |
12 | - public function getSupport(Entity $object) |
|
12 | + public function getSupport(Entity $object) |
|
13 | 13 | { |
14 | 14 | return $object instanceof CampagneCible; |
15 | 15 | } |
@@ -14,7 +14,7 @@ |
||
14 | 14 | |
15 | 15 | class CampagneController extends StructureController |
16 | 16 | { |
17 | - /** |
|
17 | + /** |
|
18 | 18 | * @ApiDoc( |
19 | 19 | * resource=true, |
20 | 20 | * description="Liste les campagnes.", |