src/DP/Core/CoreBundle/Controller/Server/ServerController.php 1 location
|
@@ 27-40 (lines=14) @@
|
| 24 |
|
*/ |
| 25 |
|
protected $domainManager; |
| 26 |
|
|
| 27 |
|
public function setContainer(ContainerInterface $container = null) |
| 28 |
|
{ |
| 29 |
|
parent::setContainer($container); |
| 30 |
|
|
| 31 |
|
if ($container !== null) { |
| 32 |
|
$this->domainManager = new ServerDomainManager( |
| 33 |
|
$container->get($this->config->getServiceName('manager')), |
| 34 |
|
$container->get('event_dispatcher'), |
| 35 |
|
$this->flashHelper, |
| 36 |
|
$this->config, |
| 37 |
|
$container->get('twig') |
| 38 |
|
); |
| 39 |
|
} |
| 40 |
|
} |
| 41 |
|
|
| 42 |
|
/** |
| 43 |
|
* @param Request $request |
src/DP/GameServer/GameServerBundle/Controller/GameServerController.php 1 location
|
@@ 30-43 (lines=14) @@
|
| 27 |
|
*/ |
| 28 |
|
protected $domainManager; |
| 29 |
|
|
| 30 |
|
public function setContainer(ContainerInterface $container = null) |
| 31 |
|
{ |
| 32 |
|
parent::setContainer($container); |
| 33 |
|
|
| 34 |
|
if ($container !== null) { |
| 35 |
|
$this->domainManager = new GameServerDomainManager( |
| 36 |
|
$container->get($this->config->getServiceName('manager')), |
| 37 |
|
$container->get('event_dispatcher'), |
| 38 |
|
$this->flashHelper, |
| 39 |
|
$this->config, |
| 40 |
|
$container->get('twig') |
| 41 |
|
); |
| 42 |
|
} |
| 43 |
|
} |
| 44 |
|
|
| 45 |
|
public function installProgressAction(Request $request) |
| 46 |
|
{ |
src/DP/VoipServer/VoipServerBundle/Controller/VoipServerInstanceController.php 1 location
|
@@ 24-37 (lines=14) @@
|
| 21 |
|
private $request; |
| 22 |
|
|
| 23 |
|
|
| 24 |
|
public function setContainer(ContainerInterface $container = null) |
| 25 |
|
{ |
| 26 |
|
parent::setContainer($container); |
| 27 |
|
|
| 28 |
|
if ($container !== null) { |
| 29 |
|
$this->domainManager = new VoipServerInstanceDomainManager( |
| 30 |
|
$container->get($this->config->getServiceName('manager')), |
| 31 |
|
$container->get('event_dispatcher'), |
| 32 |
|
$this->flashHelper, |
| 33 |
|
$this->config, |
| 34 |
|
$container->get('twig') |
| 35 |
|
); |
| 36 |
|
} |
| 37 |
|
} |
| 38 |
|
|
| 39 |
|
public function indexAction(Request $request) |
| 40 |
|
{ |