diff --git a/library/Icinga/Repository/IniRepository.php b/library/Icinga/Repository/IniRepository.php index e17bbaa42..08d721326 100644 --- a/library/Icinga/Repository/IniRepository.php +++ b/library/Icinga/Repository/IniRepository.php @@ -20,27 +20,28 @@ use Icinga\Exception\StatementException; * */ abstract class IniRepository extends Repository implements Extensible, Updatable, Reducible { /** - * Per-table configs + * The configuration files used as table specific datasources * - * Example: + * This must be initialized by concrete repository implementations, in the following format * * array( - * 'event-type' => array( - * 'module' => 'elasticsearch', - * 'path' => 'event-types', - * 'keyColumn' => 'name' + * 'table_name' => array( + * 'config' => 'name_of_the_ini_file_without_extension', + * 'keyColumn' => 'the_name_of_the_column_to_use_as_key_column', + * ['module' => 'the_name_of_the_module_if_any'] * ) * ) * * * @var array */ - protected $configs = null; + protected $configs; /** * The tables for which triggers are available when inserting, updating or deleting rows