Extending Core Classes
Created 6 years ago by b1gw0rmWhen needing to extend a method of a core class do you need to use a custom Laravel service provider to register the extending class in config/app.php so that it overrides the core method? Are there other options?
ryanthompson
—
6 years ago
There is also a config/streams.php
that gives you an opportunity to bind early as well.
You can register that class binding in any addon service provider most likely. Depends on the class but chances are any will do.