| 1 | <?php |
||
| 19 | class IndexTemplateConfig implements IndexConfigInterface |
||
| 20 | { |
||
| 21 | use IndexConfigTrait; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Index name pattern. |
||
| 25 | * |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | private $template; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Constructor expects an array as generated by the Container Configuration builder. |
||
| 32 | */ |
||
| 33 | 9 | public function __construct(array $config) |
|
| 47 | |||
| 48 | /** |
||
| 49 | * Gets index name pattern. |
||
| 50 | */ |
||
| 51 | 7 | public function getTemplate(): string |
|
| 55 | } |
||
| 56 |