@@ -81,7 +81,7 @@ |
||
81 | 81 | /** |
82 | 82 | * Remove ffsecondarias. |
83 | 83 | * |
84 | - * @param \Fi\CoreBundle\Entity\Ffsecondaria $ffsecondarias |
|
84 | + * @param \Fi\CoreBundle\Entity\Ffsecondaria $Ffsecondarias |
|
85 | 85 | */ |
86 | 86 | public function removeFfsecondaria(\Fi\CoreBundle\Entity\Ffsecondaria $Ffsecondarias) |
87 | 87 | { |
@@ -48,6 +48,9 @@ |
||
48 | 48 | $em->clear(); |
49 | 49 | } |
50 | 50 | |
51 | + /** |
|
52 | + * @return string |
|
53 | + */ |
|
51 | 54 | private function getValoreprecedenteImpostare($change) |
52 | 55 | { |
53 | 56 | if (is_object($change)) { |
@@ -63,6 +63,9 @@ |
||
63 | 63 | /* phpmd */ |
64 | 64 | } |
65 | 65 | |
66 | + /** |
|
67 | + * @param string $cmd |
|
68 | + */ |
|
66 | 69 | private function runcmd($cmd) |
67 | 70 | { |
68 | 71 | $process = new Process($cmd); |
@@ -83,6 +83,9 @@ |
||
83 | 83 | return 0; |
84 | 84 | } |
85 | 85 | |
86 | + /** |
|
87 | + * @param string $wbFile |
|
88 | + */ |
|
86 | 89 | private function getExportJsonCommand($bundlePath, $wbFile) |
87 | 90 | { |
88 | 91 | $exportJson = $this->genhelper->getExportJsonFile(); |
@@ -91,6 +91,9 @@ |
||
91 | 91 | return $this->render('PannelloAmministrazioneBundle:PannelloAmministrazione:index.html.twig', $twigparms); |
92 | 92 | } |
93 | 93 | |
94 | + /** |
|
95 | + * @param string $path |
|
96 | + */ |
|
94 | 97 | private function fixSlash($path) |
95 | 98 | { |
96 | 99 | return str_replace('\\', '\\\\', $path); |
@@ -15,6 +15,9 @@ discard block |
||
15 | 15 | private $apppaths; |
16 | 16 | private $pammutils; |
17 | 17 | |
18 | + /** |
|
19 | + * @param \Symfony\Component\DependencyInjection\ContainerInterface $container |
|
20 | + */ |
|
18 | 21 | public function __construct($container) |
19 | 22 | { |
20 | 23 | $this->container = $container; |
@@ -215,6 +218,9 @@ discard block |
||
215 | 218 | return $retmsg; |
216 | 219 | } |
217 | 220 | |
221 | + /** |
|
222 | + * @param string $path |
|
223 | + */ |
|
218 | 224 | private function cleanTemplatePath($path) |
219 | 225 | { |
220 | 226 | $fs = new Filesystem(); |
@@ -240,6 +246,9 @@ discard block |
||
240 | 246 | return $cmdoutput; |
241 | 247 | } |
242 | 248 | |
249 | + /** |
|
250 | + * @param string $env |
|
251 | + */ |
|
243 | 252 | public function clearcacheEnv($env) |
244 | 253 | { |
245 | 254 | $ret = $this->pammutils->clearcache($env); |
@@ -66,6 +66,9 @@ |
||
66 | 66 | return $retmsg; |
67 | 67 | } |
68 | 68 | |
69 | + /** |
|
70 | + * @param string $view |
|
71 | + */ |
|
69 | 72 | public function generateFormWiew($bundlename, $entityform, $view) |
70 | 73 | { |
71 | 74 | $fs = new Filesystem(); |
@@ -9,6 +9,9 @@ discard block |
||
9 | 9 | |
10 | 10 | private $container; |
11 | 11 | |
12 | + /** |
|
13 | + * @param \Symfony\Component\DependencyInjection\ContainerInterface $container |
|
14 | + */ |
|
12 | 15 | public function __construct($container) |
13 | 16 | { |
14 | 17 | $this->container = $container; |
@@ -27,6 +30,9 @@ discard block |
||
27 | 30 | return file_exists($this->getFileLock()); |
28 | 31 | } |
29 | 32 | |
33 | + /** |
|
34 | + * @param boolean $lockstate |
|
35 | + */ |
|
30 | 36 | public function lockFile($lockstate) |
31 | 37 | { |
32 | 38 | if ($lockstate) { |
@@ -65,6 +65,9 @@ |
||
65 | 65 | return $return; |
66 | 66 | } |
67 | 67 | |
68 | + /** |
|
69 | + * @param string $command |
|
70 | + */ |
|
68 | 71 | public function runSymfonyCommand($command, array $options = array()) |
69 | 72 | { |
70 | 73 | $application = new Application($this->container->get('kernel')); |