public function __construct($mysqlCredentials) { $this->entries = new Collection(); $this->databaseExtractor = new Databases(); $this->PDO = System::getPDO($mysqlCredentials); $this->databaseFilter = $mysqlCredentials->dbname; }