Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ...other includes
- use Illuminate\Support\DateFactory;
- use Carbon\CarbonImmutable;
- class AppServiceProvider extends ServiceProvider
- {
- public function register()
- {
- DateFactory::use(CarbonImmutable::class);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement