Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
2 / 2 |
| BasketController | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
2 / 2 |
| index | |
100.00% |
1 / 1 |
1 | |
100.00% |
2 / 2 |
|||
| <?php | |
| namespace Mtc\Shop\Http\Controllers; | |
| use App\Http\Controllers\Controller; | |
| use Illuminate\Http\Request; | |
| use Mtc\Shop\Contracts\BasketContract; | |
| class BasketController extends Controller | |
| { | |
| public function index(BasketContract $basket) | |
| { | |
| return view('shop::public.basket') | |
| ->with(compact('basket')); | |
| } | |
| } |