Please explain in the OrdersController controller file:
use App\Repositories\OrderRepository; public function __construct(OrderRepository $orders) { $this->orders = $orders; } What is the OrderRepository here? Class, interface? And why is it written like this in the constructor argument along with its own object? In native php did not see this
OrderRepositoryon the keyword before the name - Ep1demic