1 | <?php |
||
21 | class SpanContainingQuery implements SpanQueryInterface |
||
22 | { |
||
23 | use ParametersTrait; |
||
24 | |||
25 | /** |
||
26 | * @param SpanQueryInterface |
||
27 | */ |
||
28 | private $little; |
||
29 | |||
30 | /** |
||
31 | * @param SpanQueryInterface |
||
32 | */ |
||
33 | private $big; |
||
34 | |||
35 | /** |
||
36 | * @param SpanQueryInterface $little |
||
37 | * @param SpanQueryInterface $big |
||
38 | */ |
||
39 | public function __construct(SpanQueryInterface $little, SpanQueryInterface $big) |
||
44 | |||
45 | /** |
||
46 | * @return SpanQueryInterface |
||
47 | */ |
||
48 | public function getLittle() |
||
52 | |||
53 | /** |
||
54 | * @param SpanQueryInterface $little |
||
55 | * |
||
56 | * @return $this |
||
57 | */ |
||
58 | public function setLittle(SpanQueryInterface $little) |
||
64 | |||
65 | /** |
||
66 | * @return SpanQueryInterface |
||
67 | */ |
||
68 | public function getBig() |
||
72 | |||
73 | /** |
||
74 | * @param SpanQueryInterface $big |
||
75 | * |
||
76 | * @return $this |
||
77 | */ |
||
78 | public function setBig(SpanQueryInterface $big) |
||
84 | |||
85 | /** |
||
86 | * {@inheritdoc} |
||
87 | */ |
||
88 | public function getType() |
||
92 | |||
93 | /** |
||
94 | * {@inheritdoc} |
||
95 | */ |
||
96 | public function toArray() |
||
107 | } |
||
108 |