public static function createFromPDO(PDO $connection) { $upsert = new self(); $upsert->setConnectionPDO($connection); return $upsert; }