is TestController living in a different namespace? like App\Http\Controllers\TestController? If that is the case difine use Calendar; in the top of your file.
The alias has been registered in a package service provider.
As specified up in controller i've used
use Paul\Calendar\Contracts\Calendar;
Where Paul\Calendar\Contracts\Calendar is the contract
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community