How get Adapter from:
$class = 'Phalcon\Db\Adapter\Pdo\\' . $adapter; $connection = new $class($database);
in doc not found:
getAdapter();
I already found it:
getType()
https://docs.phalcon.io/en/latest/api/Phalcon_Db_Adapter_Pdo_Postgresql.html