1 | <?php |
||
21 | class SpanContainingQuery implements SpanQueryInterface |
||
22 | { |
||
23 | use ParametersTrait; |
||
24 | |||
25 | /** |
||
26 | * @param SpanQueryInterface |
||
27 | */ |
||
28 | private $big; |
||
29 | |||
30 | /** |
||
31 | * @param SpanQueryInterface |
||
32 | */ |
||
33 | private $little; |
||
34 | |||
35 | /** |
||
36 | * @param SpanQueryInterface $big |
||
37 | * @param SpanQueryInterface $little |
||
38 | */ |
||
39 | public function __construct(SpanQueryInterface $big, SpanQueryInterface $little) |
||
44 | |||
45 | /** |
||
46 | * @return SpanQueryInterface |
||
47 | */ |
||
48 | public function getBig() |
||
52 | |||
53 | /** |
||
54 | * @param SpanQueryInterface $big |
||
55 | */ |
||
56 | public function setBig(SpanQueryInterface $big) |
||
60 | |||
61 | /** |
||
62 | * @return SpanQueryInterface |
||
63 | */ |
||
64 | public function getLittle() |
||
68 | |||
69 | /** |
||
70 | * @param SpanQueryInterface $little |
||
71 | */ |
||
72 | public function setLittle(SpanQueryInterface $little) |
||
76 | |||
77 | /** |
||
78 | * {@inheritdoc} |
||
79 | */ |
||
80 | public function getType() |
||
84 | |||
85 | /** |
||
86 | * {@inheritdoc} |
||
87 | */ |
||
88 | public function toArray() |
||
99 | } |
||
100 |