private function __construct() { PersistentManager::$connection = mysqli_connect($this->hostBD, $this->userBD, $this->psswdBD, $this->nameBD) or die("Could not connect to db: " . mysqli_error()); mysqli_query(PersistentManager::$connection, "SET NAMES 'utf8'"); }