public static function createFromDBAL(Connection $connection) { $upsert = new self(); $upsert->setConnectionDBAL($connection); return $upsert; }