1 | <?php |
||
22 | trait QualificationSystem |
||
23 | { |
||
24 | use UUIDEntity; |
||
25 | |||
26 | //<editor-fold desc="Fields"> |
||
27 | /** |
||
28 | * @ORM\ManyToOne(targetEntity="\Tfboe\FmLib\Entity\PhaseInterface", inversedBy="postQualifications") |
||
29 | * @var PhaseInterface |
||
30 | */ |
||
31 | private $previousPhase; |
||
32 | |||
33 | /** |
||
34 | * @ORM\ManyToOne(targetEntity="\Tfboe\FmLib\Entity\PhaseInterface", inversedBy="preQualifications") |
||
35 | * @var PhaseInterface |
||
36 | */ |
||
37 | private $nextPhase; |
||
38 | //</editor-fold desc="Fields"> |
||
39 | |||
40 | //<editor-fold desc="Public Methods"> |
||
41 | /** |
||
42 | * @return PhaseInterface |
||
43 | */ |
||
44 | public function getNextPhase(): PhaseInterface |
||
48 | |||
49 | /** |
||
50 | * @return PhaseInterface |
||
51 | */ |
||
52 | public function getPreviousPhase(): PhaseInterface |
||
56 | |||
57 | /** |
||
58 | * @param PhaseInterface $nextPhase |
||
59 | */ |
||
60 | public function setNextPhase(PhaseInterface $nextPhase) |
||
68 | |||
69 | /** |
||
70 | * @param PhaseInterface $previousPhase |
||
71 | */ |
||
72 | public function setPreviousPhase(PhaseInterface $previousPhase) |
||
80 | //</editor-fold desc="Public Methods"> |
||
81 | } |