1 | <?php |
||
18 | class VoteViewHelper extends AbstractWidgetViewHelper |
||
19 | { |
||
20 | /** |
||
21 | * AJAX Widget? |
||
22 | * |
||
23 | * @var bool |
||
24 | */ |
||
25 | protected $ajaxWidget = true; |
||
26 | |||
27 | /** |
||
28 | * Controller. |
||
29 | * |
||
30 | * @var VoteController |
||
31 | */ |
||
32 | protected $controller; |
||
33 | |||
34 | public function __construct(VoteController $voteController) |
||
38 | |||
39 | /** |
||
40 | * Initialize arguments. |
||
41 | * |
||
42 | * @throws Exception |
||
43 | */ |
||
44 | public function initializeArguments() |
||
50 | |||
51 | /** |
||
52 | * Render. |
||
53 | * |
||
54 | * @throws MissingControllerException |
||
55 | * |
||
56 | * @return ResponseInterface |
||
57 | */ |
||
58 | public function render() |
||
62 | } |
||
63 |