1 | <?php |
||
26 | final class CreateCommentFormAction extends Controller |
||
|
|||
27 | { |
||
28 | /** |
||
29 | * @var RouterInterface |
||
30 | */ |
||
31 | private $router; |
||
32 | |||
33 | /** |
||
34 | * @var PostManagerInterface |
||
35 | */ |
||
36 | private $postManager; |
||
37 | |||
38 | /** |
||
39 | * @var CommentManagerInterface |
||
40 | */ |
||
41 | private $commentManager; |
||
42 | |||
43 | /** |
||
44 | * @var FormFactoryInterface |
||
45 | */ |
||
46 | private $formFactory; |
||
47 | |||
48 | public function __construct( |
||
59 | |||
60 | /** |
||
61 | * @param string $postId |
||
62 | * @param bool $form |
||
63 | * |
||
64 | * @return Response |
||
65 | */ |
||
66 | public function __invoke($postId, $form = false) |
||
81 | |||
82 | /** |
||
83 | * @return FormInterface |
||
84 | */ |
||
85 | private function getCommentForm(PostInterface $post) |
||
98 | } |
||
99 |
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.