public function getItemConfigObject(array $options)
    {
        if ($this->type === 'settings') {
            return new SettingsConfig($this->validator, $this->customValidator, $options);
        } else {
            return new ModelConfig($this->validator, $this->customValidator, $options);
        }
    }
public function getItemConfigObject(array $options)
    {
        if ($this->type === 'settings') {
            return new SettingsConfig($this->validator, $this->customValidator, $options);
        } else {
            return new ModelConfig($this->validator, $this->customValidator, $options);
        }
    }
public function getItemConfigObject ( array $ options ) { if ( $ this -> type === 'settings' ) { return new SettingsConfig ( $ this -> validator , $ this -> customValidator , $ options ) ; } else { return new ModelConfig ( $ this -> validator , $ this -> customValidator , $ options ) ; } }
Gets an instance of the config.

@param array $options

@return \Frozennode\Administrator\Config\ConfigInterface
Gets an instance of the config .