| Total Complexity | 3 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | class Feedback extends Job |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @ORM\ManyToOne(targetEntity="App\Entity\User\User") |
||
| 18 | **/ |
||
| 19 | protected $author; |
||
| 20 | |||
| 21 | const STATUS_OPEN = 0; |
||
| 22 | const STATUS_TO_DO = 1; |
||
| 23 | const STATUS_IN_PROGRESS = 2; |
||
| 24 | const STATUS_TO_VALIDATE = 3; |
||
| 25 | const STATUS_DONE = 4; |
||
| 26 | const STATUS_CLOSED = 5; |
||
| 27 | |||
| 28 | public function setAuthor(UserInterface $author): Feedback |
||
| 29 | { |
||
| 30 | $this->author = $author; |
||
| 31 | |||
| 32 | return $this; |
||
| 33 | } |
||
| 34 | |||
| 35 | public function getAuthor(): UserInterface |
||
| 38 | } |
||
| 39 | |||
| 40 | public function getType(): string |
||
| 45 |