public function __construct(PDO $pdo, Grammar $grammar, Processor $processor, DoctrineDriver $doctrine = null) { parent::__construct($pdo); $this->queryGrammar = new GrammarWrapper($grammar); $this->postProcessor = $processor; $this->doctrine = $doctrine; }
/** * @param PDO $pdo * @param string $database * @param string $tablePrefix * @param array $config */ public function __construct(PDO $pdo, $database = '', $tablePrefix = '', array $config = []) { parent::__construct($pdo, $database, $tablePrefix, $config); $this->sequence = new Sequence($this); $this->trigger = new Trigger($this); }
public function __construct(PDO $pdo, $database = '', $tablePrefix = '', array $config = []) { parent::__construct($pdo, $database, $tablePrefix, $config); $this->currentSchema = $this->defaultSchema = strtoupper($config['schema']); }