public function __construct($sql, Connection $conn) { $this->sql = $sql; $this->conn = $conn; $this->createStatement(); }