app/Http/Controllers/OrderController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $orders = Order::all(); 
        return View::make('orders.index')->with('orders', $orders); 
    }
public function index ( ) { $ orders = Order :: all ( ) ; return View :: make ( 'orders.index' ) -> with ( 'orders' , $ orders ) ; }
Display a listing of the resource.
Display a listing of the resource .
// Retrieve all the orders  // Load the view and pass the retrieved orders to the view for further processing 