| Total Complexity | 5 |
| Total Lines | 66 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php declare(strict_types=1); |
||
| 7 | class Livestreaming extends Model |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * identifier |
||
| 11 | * |
||
| 12 | * @var string |
||
| 13 | */ |
||
| 14 | protected $identifier = null; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * constuctor |
||
| 18 | * |
||
| 19 | * @param string $uniqueId |
||
| 20 | * @param string $title |
||
| 21 | * @param string $desc |
||
| 22 | * @param string $urlLive |
||
| 23 | * @param string $urlThumbnail |
||
| 24 | * @param \DateTimeInterface|string $publishedAt |
||
| 25 | * @param \DateTimeInterface|string $endAt |
||
| 26 | * @param bool $publishStatus |
||
| 27 | |||
| 28 | */ |
||
| 29 | |||
| 30 | public function __construct( |
||
| 56 | } |
||
| 57 | } |
||
| 58 | |||
| 59 | /** |
||
| 60 | * setIdentifier from rest api response |
||
| 61 | */ |
||
| 62 | public function setId(string $identifier): void |
||
| 63 | { |
||
| 64 | $this->identifier = $identifier; |
||
| 65 | } |
||
| 66 | |||
| 67 | /** |
||
| 68 | * getIdentifier set before |
||
| 69 | */ |
||
| 70 | public function getId(): string |
||
| 73 | } |
||
| 74 | } |
||
| 76 |