public function __construct($database, $table = null) { $this->database = $database; $this->table = $table; $this->manager = Manager::getInstance(Config\Database::conf()); }