| Total Complexity | 2 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | trait NbVideoTrait |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @ORM\Column(name="nbVideo", type="integer", nullable=false, options={"default" : 0}) |
||
| 9 | */ |
||
| 10 | private int $nbVideo = 0; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * Set nbVideo |
||
| 14 | * |
||
| 15 | * @param integer $nbVideo |
||
| 16 | * @return $this |
||
| 17 | */ |
||
| 18 | public function setNbVideo(int $nbVideo): static |
||
| 19 | { |
||
| 20 | $this->nbVideo = $nbVideo; |
||
| 21 | |||
| 22 | return $this; |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Get nbVideo |
||
| 27 | * |
||
| 28 | * @return integer |
||
| 29 | */ |
||
| 30 | public function getNbVideo(): int |
||
| 33 | } |
||
| 34 | } |
||
| 35 |