pdo adapter abstract class