Aimeos\Shop\Command\SetupCommand::setOptions PHP Method

setOptions() protected method

Extracts the configuration options from the input object and updates the configuration values in the config object.
protected setOptions ( Aimeos\MW\Config\Iface $conf )
$conf Aimeos\MW\Config\Iface Configuration object
    protected function setOptions(\Aimeos\MW\Config\Iface $conf)
    {
        foreach ((array) $this->option('option') as $option) {
            list($name, $value) = explode(':', $option);
            $conf->set(str_replace('\\', '/', $name), $value);
        }
    }