/** * Delete constructor. * @param Connection $connection * @param string|array $from * @param SQLStatement|null $statement */ public function __construct(Connection $connection, $from, SQLStatement $statement = null) { parent::__construct($from, $statement); $this->connection = $connection; }
public function __construct(Connection $connection, Compiler $compiler, $from, $joins, WhereClause $clause = null) { parent::__construct($compiler, $from, $clause); $this->connection = $connection; $this->joins = $joins; }