public function __construct(Database $database) { $this->database = $database; $this->database->assertTable(User::class); }