mirror of
https://github.com/flarum/core.git
synced 2025-07-25 18:51:40 +02:00
Here, the order is relevant, because at this point, the application has already been booted. Hence, all boot() methods are called immediately, which might depend on other service providers' register() methods having run. In this case, the DiscussionServiceProvider depends on the Gate class being registered in the container by the UserServiceProvider.