| Total Complexity | 3 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class EntryContent extends ServiceEntity |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Get HTML value of entry content. |
||
| 11 | * |
||
| 12 | * @return string|null |
||
| 13 | */ |
||
| 14 | public function getHtml() |
||
| 17 | } |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Get entry content's version. |
||
| 21 | * |
||
| 22 | * @return string|null |
||
| 23 | */ |
||
| 24 | public function getVersion() |
||
| 25 | { |
||
| 26 | return $this->getData('version') ?? ''; |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Transform current content instance to string representation. |
||
| 31 | * |
||
| 32 | * @return string |
||
| 33 | */ |
||
| 34 | public function __toString() |
||
| 37 | } |
||
| 38 | } |
||
| 39 |