singleton

  1. Markshall

    PHP PDO Singleton usage in other classes

    Right, basically I've got an MySQLi singleton wrapper which I want to use in other classes. It is as follows: <?php class Database extends PDO { public static $instance; private $connection; public function __construct() { $this->connection =...
Top