1 | <?php |
||
21 | abstract class AbstractSearchEndpoint extends AbstractNormalizable implements SearchEndpointInterface |
||
22 | { |
||
23 | use ParametersTrait; |
||
24 | |||
25 | /** |
||
26 | * @var BuilderInterface[] |
||
27 | */ |
||
28 | private $container = []; |
||
29 | |||
30 | /** |
||
31 | * {@inheritdoc} |
||
32 | */ |
||
33 | public function add(BuilderInterface $builder, $key = null) |
||
47 | |||
48 | /** |
||
49 | * {@inheritdoc} |
||
50 | */ |
||
51 | public function addToBool(BuilderInterface $builder, $boolType = null, $key = null) |
||
55 | |||
56 | /** |
||
57 | * {@inheritdoc} |
||
58 | */ |
||
59 | public function remove($key) |
||
67 | |||
68 | /** |
||
69 | * Checks if builder with specific key exists. |
||
70 | * |
||
71 | * @param string $key Key to check if it exists in container. |
||
72 | * |
||
73 | * @return bool |
||
74 | */ |
||
75 | public function has($key) |
||
79 | |||
80 | /** |
||
81 | * {@inheritdoc} |
||
82 | */ |
||
83 | public function get($key) |
||
91 | |||
92 | /** |
||
93 | * {@inheritdoc} |
||
94 | */ |
||
95 | public function getAll($boolType = null) |
||
99 | |||
100 | /** |
||
101 | * {@inheritdoc} |
||
102 | */ |
||
103 | public function getBool() |
||
107 | } |
||
108 |