1 | <?php |
||
19 | final class ContextActivities |
||
20 | { |
||
21 | private $parent; |
||
22 | private $grouping; |
||
23 | private $category; |
||
24 | private $other; |
||
25 | |||
26 | public function __construct(Activity $parent = null, Activity $grouping = null, Activity $category = null, Activity $other = null) |
||
33 | |||
34 | public function withParent(Activity $parent) |
||
41 | |||
42 | public function withGrouping(Activity $grouping) |
||
49 | |||
50 | public function withCategory(Activity $category) |
||
57 | |||
58 | public function withOther(Activity $other) |
||
65 | |||
66 | public function getParent() |
||
70 | |||
71 | public function getGrouping() |
||
75 | |||
76 | public function getCategory() |
||
80 | |||
81 | public function getOther() |
||
85 | } |
||
86 |