| 1 | <?php |
||
| 6 | class Generic extends Template |
||
| 7 | { |
||
| 8 | |||
| 9 | /** |
||
| 10 | * @var \Kerox\Messenger\Model\Message\Attachment\Template\Element\GenericElement[] |
||
| 11 | */ |
||
| 12 | protected $elements; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Generic constructor. |
||
| 16 | * @param \Kerox\Messenger\Model\Message\Attachment\Template\Element\GenericElement[] $elements |
||
| 17 | */ |
||
| 18 | public function __construct(array $elements) |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @return array |
||
| 29 | */ |
||
| 30 | public function jsonSerialize(): array |
||
| 44 | } |
||
| 45 |