app/Http/Controllers/Admin/TransactionController.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()
    {
        $card = $this->transaction->getCardInfo();
        return view('admin.web.transaction.index', compact('card'));
    }
public function index ( ) { $ card = $ this -> transaction -> getCardInfo ( ) ; return view ( 'admin.web.transaction.index' , compact ( 'card' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .