Contracts
Introduction Contracts Vs. Facades
When To Use Contracts Loose Coupling Simplicity How To Use Contracts Contract Reference
Introduction
Laravel's Contracts are a set of interfaces that define the core services provided by the framework. For example, a Illuminate\Contracts\Queue\Queue contract defines the methods needed for queueing jobs, while the Illuminate\Contracts\Mail\Mailer contract defines the methods needed for sending e-mail.
Each contract has a corresponding implementa