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