public function __construct() { self::$_pdo = new \PDO('mysql:host=' . self::$host . ';dbname=' . self::$database, self::$user, self::$password); }
public function __construct() { self::$_pdo = new \PDO("mysql:dbname=" . $this->database . ";unix_socket=" . $this->socket, $this->user, $this->password); }