1 | <?php |
||
13 | class IndexSettings |
||
14 | { |
||
15 | private $namespace; |
||
16 | private $indexName; |
||
17 | private $alias; |
||
18 | private $indexMetadata; |
||
19 | private $hosts; |
||
20 | private $defaultIndex = false; |
||
21 | |||
22 | |||
23 | |||
24 | /** |
||
25 | * @deprecated will be removed in the v7 |
||
26 | */ |
||
27 | private $type; |
||
28 | |||
29 | public function __construct( |
||
46 | |||
47 | public function getNamespace() |
||
51 | |||
52 | public function setNamespace($namespace): self |
||
57 | |||
58 | public function getIndexName() |
||
62 | |||
63 | public function setIndexName($indexName): self |
||
68 | |||
69 | public function getAlias() |
||
73 | |||
74 | public function setAlias($alias): self |
||
79 | |||
80 | public function getIndexMetadata() |
||
84 | |||
85 | public function setIndexMetadata($indexMetadata): self |
||
90 | |||
91 | public function getHosts() |
||
95 | |||
96 | public function setHosts($hosts): self |
||
101 | |||
102 | public function isDefaultIndex(): bool |
||
106 | |||
107 | public function setDefaultIndex(bool $defaultIndex): self |
||
112 | |||
113 | public function getType() |
||
117 | |||
118 | public function setType($type): self |
||
123 | |||
124 | } |
||
125 |
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.