public function __construct(Orders $orders, Payments $payments) { $this->orders = $orders; $this->payments = $payments; }