Hi, I am working myself through the current Invo app implementation and don't get why the adapter is getting unset in Services.php after the connection string is created:
protected function initSharedDb()
{
$config = $this->get('config')->get('database')->toArray();
$dbClass = 'Phalcon\Db\Adapter\Pdo\\' . $config['adapter'];
unset($config['adapter']);
return new $dbClass($config);
}
Would be nice if someone could enlighten me, thanks.