@@ -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')); |