1 | <?php |
||
18 | class HistoryStep extends AbstractStep implements HistoryStepInterface |
||
19 | { |
||
20 | /** |
||
21 | * @ORM\ManyToOne(targetEntity="AbstractEntry", inversedBy="historySteps") |
||
22 | * @ORM\JoinColumn(name="entry_id", referencedColumnName="id") |
||
23 | * |
||
24 | * @var EntryInterface |
||
25 | * |
||
26 | */ |
||
27 | protected $entry; |
||
28 | |||
29 | /** |
||
30 | * @param CurrentStepInterface $step |
||
31 | * |
||
32 | * @throws Exception\InvalidArgumentException |
||
33 | */ |
||
34 | public function __construct(CurrentStepInterface $step) |
||
50 | |||
51 | /** |
||
52 | * @return EntryInterface |
||
53 | */ |
||
54 | public function getEntry() |
||
58 | |||
59 | /** |
||
60 | * @param EntryInterface $entry |
||
61 | * |
||
62 | * @return $this |
||
63 | */ |
||
64 | public function setEntry(EntryInterface $entry) |
||
74 | } |
||
75 |