# jc-importer/trunk/class/Common/Importer/ConfigInterface.php

Import WP – CSV &amp; XML Import Export for WordPress, version trunk. 45 lines.

- Page: https://pluginprobe.com/plugins/jc-importer/trunk/code/class/Common/Importer/ConfigInterface.php
- Raw: https://pluginprobe.com/plugins/jc-importer/trunk/raw/class/Common/Importer/ConfigInterface.php
- Modified: 2020-09-22T19:27:48+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/jc-importer/trunk/code/class/Common/Importer/ConfigInterface.php#L10-L20`.

```php
<?php

namespace ImportWP\Common\Importer;

interface ConfigInterface
{
    /**
     * Get setting
     *
     * @param $key
     *
     * @return mixed
     */
    public function get($key);

    /**
     * Set setting
     *
     * @param $key
     * @param $data
     *
     * @return mixed
     */
    public function set($key, $data);

    /**
     * Get data to import
     *
     * @return array
     */
    public function getData();

    public function getIndex($key, $record);

    public function setIndex($key, $record, $start, $end);

    public function readIndexes($key);

    public function storeIndexes($key);

    public function getRecordCount($key);

    public function getIndexFile($key);
}

```
