| 1 | <?php |
||
| 21 | abstract class AbstractMessageFormFactory |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * The Symfony form factory |
||
| 25 | * |
||
| 26 | * @var FormFactoryInterface |
||
| 27 | */ |
||
| 28 | protected $formFactory; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * The message form type |
||
| 32 | * |
||
| 33 | * @var AbstractType |
||
| 34 | */ |
||
| 35 | protected $formType; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * The name of the form |
||
| 39 | * |
||
| 40 | * @var string |
||
| 41 | */ |
||
| 42 | protected $formName; |
||
| 43 | |||
| 44 | /** |
||
| 45 | * The FQCN of the message model |
||
| 46 | * |
||
| 47 | * @var string |
||
| 48 | */ |
||
| 49 | protected $modelClassName; |
||
| 50 | |||
| 51 | /** |
||
| 52 | * Constructor. |
||
| 53 | * |
||
| 54 | * @param FormFactoryInterface $formFactory A form factory instance |
||
| 55 | * @param AbstractType $formType The form type |
||
| 56 | * @param string $formName Name of the form |
||
| 57 | * @param string $modelClassName FQCN of the form model |
||
| 58 | */ |
||
| 59 | public function __construct(FormFactoryInterface $formFactory, AbstractType $formType, $formName, $modelClassName) |
||
| 66 | } |
||
| 67 |