| 1 | <?php |
||
| 19 | class ArticleExtraEmbedField extends ArticleExtraField implements ArticleExtraEmbedFieldInterface |
||
| 20 | { |
||
| 21 | /** @var string */ |
||
| 22 | protected $embed; |
||
| 23 | |||
| 24 | /** @var string */ |
||
| 25 | protected $description; |
||
| 26 | |||
| 27 | public static function newFromValue(string $fieldName, array $value): ArticleExtraEmbedFieldInterface |
||
| 37 | |||
| 38 | public function setEmbed(?string $embed): void |
||
| 42 | |||
| 43 | public function getEmbed(): string |
||
| 47 | |||
| 48 | public function setDescription(?string $description): void |
||
| 52 | |||
| 53 | public function getDescription(): string |
||
| 57 | |||
| 58 | public function toApiFormat(): array |
||
| 65 | } |
||
| 66 |