mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-11 18:54:33 +00:00
[Fix] Facade: Added facade to package
This commit is contained in:
16
src/Facades/Cart.php
Normal file
16
src/Facades/Cart.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
namespace Gloudemans\Shoppingcart\Facades;
|
||||
|
||||
use Illuminate\Support\Facades\Facade;
|
||||
|
||||
class Cart extends Facade {
|
||||
/**
|
||||
* Get the registered name of the component.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return 'cart';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user