public function connectionIs($type) { return strpos(strtolower(get_class($this->connection()->getDriver())), $type) !== false; }