Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #521
    dan
    Participant

    What is the difference between Carbon\Carbon and Illuminate\Support\Carbon?

    #522

    Illuminate\Support\Carbon is a Carbon Class that extends the Carbon\Carbon package.

    Therefore Illuminate\Support\Carbon utilizes all the properties and method of Carbon\Carbon

    Just use either except when a method exclusive for Illuminate\Support\Carbon is being used.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.