/**
* insert
*
* @param ConfigEntity $config config object
*
* @return ConfigEntity
*/
protected function insert(ConfigEntity $config)
{
$this->conn->table($this->table)->insert($config->getAttributes());
return $this->createModel($config->getAttributes());
}