(Update) Refator Toastr Notifications

This commit is contained in:
HDVinnie
2018-11-12 11:14:41 -05:00
parent 587eb9f03e
commit 87563a2473
46 changed files with 954 additions and 359 deletions
+8 -4
View File
@@ -24,15 +24,13 @@ class WishController extends Controller
private $wish;
/**
* todo: create interface for this class and register it to the service container.
* Then we can inject the interface.
*
* @var Toastr
*/
private $toastr;
/**
* WishController constructor.
* WishController Constructor
*
* @param WishInterface $wish
* @param Toastr $toastr
*/
@@ -43,6 +41,8 @@ class WishController extends Controller
}
/**
* Get Wish List
*
* @param $uid
* @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View
*/
@@ -54,6 +54,8 @@ class WishController extends Controller
}
/**
* Add New Wish
*
* @param \Illuminate\Http\Request $request
* @param $uid
* @return \Illuminate\Http\RedirectResponse
@@ -91,6 +93,8 @@ class WishController extends Controller
}
/**
* Delete A Wish
*
* @param $uid
* @param $id
* @return \Illuminate\Http\RedirectResponse