Calling View:: in the register method resolves the View Factory very early in the registering process. I've ran into an issue in which the View is resolved earlier some the other service providers are registered
Relevant packages: blade-icons, heroicons and zondicons.
Because of the View::addNamespace call in Helo service provider, zondicons register method is called after the view is resolved.
By moving the addNamespace call to the boot method, this issue is resolved and should work exactly the same I believe.
Calling
View::
in the register method resolves the View Factory very early in the registering process. I've ran into an issue in which the View is resolved earlier some the other service providers are registeredRelevant packages: blade-icons, heroicons and zondicons.
Because of the
View::addNamespace
call in Helo service provider, zondicons register method is called after the view is resolved.By moving the addNamespace call to the boot method, this issue is resolved and should work exactly the same I believe.