method __toString documentation in bbn\Db

Makes that echoing the connection shows its engine and host.

Example

X::adump($ctrl->db->__toString()); // Connection mysql to db.m3l.co function() { return "Connection {$this->engine} to " . $this->getHost(); }

Makes that echoing the connection shows its engine and host. BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.