@@ 35-47 (lines=13) @@ | ||
32 | private $commandBus; |
|
33 | private $urlGenerator; |
|
34 | ||
35 | public function __construct( |
|
36 | FormHandler $formHandler, |
|
37 | CommandBus $commandBus, |
|
38 | \Twig_Environment $twig, |
|
39 | FlashBagInterface $flashBag, |
|
40 | UrlGeneratorInterface $urlGenerator |
|
41 | ) { |
|
42 | $this->twig = $twig; |
|
43 | $this->flashBag = $flashBag; |
|
44 | $this->formHandler = $formHandler; |
|
45 | $this->commandBus = $commandBus; |
|
46 | $this->urlGenerator = $urlGenerator; |
|
47 | } |
|
48 | ||
49 | public function execute($entity, Entity $config, Request $request, $options = null) |
|
50 | { |
@@ 34-44 (lines=11) @@ | ||
31 | private $formHandler; |
|
32 | private $commandBus; |
|
33 | ||
34 | public function __construct( |
|
35 | FormHandler $formHandler, |
|
36 | CommandBus $commandBus, |
|
37 | \Twig_Environment $twig, |
|
38 | FlashBagInterface $flashBag |
|
39 | ) { |
|
40 | $this->twig = $twig; |
|
41 | $this->flashBag = $flashBag; |
|
42 | $this->formHandler = $formHandler; |
|
43 | $this->commandBus = $commandBus; |
|
44 | } |
|
45 | ||
46 | public function execute($entity, Entity $config, Request $request, $options = null) |
|
47 | { |