1 | <?php |
||
10 | class CreateController extends AbstractActionController |
||
11 | { |
||
12 | /** |
||
13 | * @var array |
||
14 | */ |
||
15 | private $data; |
||
16 | |||
17 | /** |
||
18 | * @var CreatorInterface |
||
19 | */ |
||
20 | private $creator; |
||
21 | |||
22 | /** |
||
23 | * @var CreateViewModelInterface |
||
24 | */ |
||
25 | private $viewModel; |
||
26 | |||
27 | /** |
||
28 | * @var string |
||
29 | */ |
||
30 | private $redirectTo; |
||
31 | |||
32 | /** |
||
33 | * @param array $data |
||
34 | * @param CreatorInterface $creator |
||
35 | * @param CreateViewModelInterface $viewModel |
||
36 | * @param null $redirectTo |
||
37 | */ |
||
38 | public function __construct( |
||
49 | |||
50 | /** |
||
51 | * Execute the request |
||
52 | * |
||
53 | * @param MvcEvent $e |
||
54 | * @return CreateViewModelInterface|\Zend\Http\Response |
||
55 | */ |
||
56 | public function onDispatch(MvcEvent $e) |
||
75 | } |
||
76 |