1 | <?php |
||
13 | class IndexSettings |
||
14 | { |
||
15 | private $namespace; |
||
16 | |||
17 | private $alias; |
||
18 | |||
19 | /** |
||
20 | * @deprecated will be removed in the v7 |
||
21 | */ |
||
22 | private $type; |
||
23 | |||
24 | private $hosts = []; |
||
25 | |||
26 | public function getNamespace(): string |
||
30 | |||
31 | public function setNamespace(string $namespace): IndexSettings |
||
36 | |||
37 | public function getType(): string |
||
41 | |||
42 | public function setType(string $type): IndexSettings |
||
47 | |||
48 | public function getAlias(): string |
||
52 | |||
53 | public function setAlias(string $alias): IndexSettings |
||
58 | |||
59 | public function getHosts(): array |
||
63 | |||
64 | public function setHosts(array $hosts): IndexSettings |
||
69 | } |
||
70 |
This property has been deprecated. The supplier of the class has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the property will be removed from the class and what other property to use instead.