1 | <?php |
||
23 | class ReplyMessageFormFactory extends AbstractMessageFormFactory |
||
24 | { |
||
25 | /** |
||
26 | * Creates a reply form from a form type with a form model set. |
||
27 | * |
||
28 | * It also sets some values on that form model. |
||
29 | * |
||
30 | * @param ThreadInterface $thread The thread we answer to |
||
31 | * @param ParticipantInterface $sender The sender of the reply |
||
32 | * |
||
33 | * @return FormInterface |
||
34 | */ |
||
35 | public function create(ThreadInterface $thread, ParticipantInterface $sender) |
||
43 | |||
44 | /** |
||
45 | * Creates a new form model object from the modelClassName |
||
46 | * |
||
47 | * @return ReplyMessageInterface |
||
48 | */ |
||
49 | protected function createNewFormModel() |
||
53 | } |
||
54 |