propelorm / Propel2

Propel2 is an open-source high-performance Object-Relational Mapping (ORM) for modern PHP
http://propelorm.org/
MIT License
1.26k stars 393 forks source link

PDO Access after Alpha 12 #1964

Open urshofer opened 1 year ago

urshofer commented 1 year ago

Quick Question:

How does this needs to be rewritten so that it works after Updating to Alpha12 or later?

function PDO() {
    return $this->serviceContainer->getConnection()->getWrappedConnection();
  }

I'm somtimes accessing PDO directly with this function. Related to https://github.com/propelorm/Propel2/issues/1683

best