Replies: 1 comment 2 replies
-
Good idea, please send a PR for this. If no PR comes in, I'll take care of it soon. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In my Laravel projects I prefer
CarbonImmutable
overCarbon
, therefore I propose that when instantiating the\Spatie\Ray\Payloads\CarbonPayload
to allow an instance ofCarbonInterface
to be the argument rather than the more specificCarbon
class. This would allow people to use bothCarbon
andCarbonImmutable
.Beta Was this translation helpful? Give feedback.
All reactions