@@ -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')); |
@@ -223,7 +223,7 @@ discard block |
||
223 | 223 | * Adds a mandatory requirement in form of a php.ini configuration. |
224 | 224 | * |
225 | 225 | * @param string $cfgName The configuration name used for ini_get() |
226 | - * @param bool|callback $evaluation Either a boolean indicating whether the configuration should evaluate to true or false, |
|
226 | + * @param boolean|string $evaluation Either a boolean indicating whether the configuration should evaluate to true or false, |
|
227 | 227 | * or a callback function receiving the configuration value as parameter to determine the fulfillment of the requirement |
228 | 228 | * @param bool $approveCfgAbsence If true the Requirement will be fulfilled even if the configuration option does not exist, i.e. ini_get() returns false. |
229 | 229 | * This is helpful for abandoned configs in later PHP versions or configs of an optional extension, like Suhosin. |
@@ -241,7 +241,7 @@ discard block |
||
241 | 241 | * Adds an optional recommendation in form of a php.ini configuration. |
242 | 242 | * |
243 | 243 | * @param string $cfgName The configuration name used for ini_get() |
244 | - * @param bool|callback $evaluation Either a boolean indicating whether the configuration should evaluate to true or false, |
|
244 | + * @param string|false $evaluation Either a boolean indicating whether the configuration should evaluate to true or false, |
|
245 | 245 | * or a callback function receiving the configuration value as parameter to determine the fulfillment of the requirement |
246 | 246 | * @param bool $approveCfgAbsence If true the Requirement will be fulfilled even if the configuration option does not exist, i.e. ini_get() returns false. |
247 | 247 | * This is helpful for abandoned configs in later PHP versions or configs of an optional extension, like Suhosin. |