While trying to get DB connection in controller through modelManager, I got this errors:
Fatal error: Call to undefined method Phalcon\Mvc\Model\Manager::getConnection() Fatal error: Call to undefined method Phalcon\Mvc\Model\Manager::getConnectionService():
Example: var_dump($this->modelsManager->getConnectionService());
But in documentation said that there are such functions