public function __construct(OrderRepository $order) { $this->middleware('auth'); $this->order = $order; }