getParameter('env', 'dev'); $command = 'app/console cache:warmup --env=' . $env; $result = $this->runCommand($command); return $result; } }