Total Complexity | 5 |
Total Lines | 62 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
16 | class ODataExpandedResult |
||
17 | { |
||
18 | /** |
||
19 | * Term. |
||
20 | * |
||
21 | * @var ODataEntry|null |
||
22 | */ |
||
23 | private $entry; |
||
24 | |||
25 | /** |
||
26 | * Scheme. |
||
27 | * |
||
28 | * @var ODataFeed|null |
||
29 | */ |
||
30 | private $feed; |
||
31 | |||
32 | /** |
||
33 | * ODataExpandedResult constructor. |
||
34 | * |
||
35 | * @param ODataEntry|null $entry |
||
36 | * @param ODataFeed|null $feed |
||
37 | */ |
||
38 | public function __construct(ODataEntry $entry = null, ODataFeed $feed = null) |
||
42 | } |
||
43 | |||
44 | /** |
||
45 | * @return ODataEntry|null |
||
46 | */ |
||
47 | public function getEntry(): ?ODataEntry |
||
50 | } |
||
51 | |||
52 | /** |
||
53 | * @param ODataEntry|null $entry |
||
54 | * @return ODataExpandedResult |
||
55 | */ |
||
56 | public function setEntry(?ODataEntry $entry): ODataExpandedResult |
||
57 | { |
||
58 | $this->entry = $entry; |
||
59 | return $this; |
||
60 | } |
||
61 | |||
62 | /** |
||
63 | * @return ODataFeed|null |
||
64 | */ |
||
65 | public function getFeed(): ?ODataFeed |
||
66 | { |
||
67 | return $this->feed; |
||
68 | } |
||
69 | |||
70 | /** |
||
71 | * @param ODataFeed|null $feed |
||
72 | * @return ODataExpandedResult |
||
73 | */ |
||
74 | public function setFeed(?ODataFeed $feed): ODataExpandedResult |
||
78 | } |
||
79 | } |
||
80 |