@@ 50-62 (lines=13) @@ | ||
47 | */ |
|
48 | protected $time; |
|
49 | ||
50 | public function __construct( |
|
51 | $id, |
|
52 | TargetInterface $target, |
|
53 | CustomerInterface $customer, |
|
54 | PlanInterface $plan, |
|
55 | DateTimeImmutable $time = null |
|
56 | ) { |
|
57 | $this->id = $id; |
|
58 | $this->target = $target; |
|
59 | $this->customer = $customer; |
|
60 | $this->plan = $plan; |
|
61 | $this->time = $time; |
|
62 | } |
|
63 | ||
64 | public function getId() |
|
65 | { |
@@ 50-60 (lines=11) @@ | ||
47 | */ |
|
48 | protected $plan; |
|
49 | ||
50 | public function __construct( |
|
51 | $id, |
|
52 | TypeInterface $type, |
|
53 | TargetInterface $target, |
|
54 | PlanInterface $plan = null |
|
55 | ) { |
|
56 | $this->id = $id; |
|
57 | $this->type = $type; |
|
58 | $this->target = $target; |
|
59 | $this->plan = $plan; |
|
60 | } |
|
61 | ||
62 | /** |
|
63 | * {@inheritdoc} |