getAttributes() public method

returns current attributes
public getAttributes ( ) : array
return array
 /**
  * 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());
 }