W
W
wideShift2021-03-18 20:50:15
Laravel
wideShift, 2021-03-18 20:50:15

Boot method in Service Provider when fired?

The RouteServiceProvider class has this method. Per documentation: This method is called after all other service providers have been registered.
It turns out that this method can be in any service provider and as soon as laravel loads them all (service providers), then laravel will then call boot separately from each class?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
JhaoDa, 2021-03-18
@JhaoDa

Yes .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question