whoami7 - Manager
:
/
home
/
dataiclx
/
vielorbe.com
/
wp-content
/
plugins
/
surecart
/
app
/
src
/
Cart
/
Upload File:
files >> //home/dataiclx/vielorbe.com/wp-content/plugins/surecart/app/src/Cart/CartServiceProvider.php
<?php namespace SureCart\Cart; use SureCartCore\ServiceProviders\ServiceProviderInterface; /** * Provides the cart service. */ class CartServiceProvider implements ServiceProviderInterface { /** * Register all dependencies in the IoC container. * * @param \Pimple\Container $container Service container. * @return void */ public function register( $container ) { $container['surecart.cart'] = function () { return new CartService(); }; $app = $container[ SURECART_APPLICATION_KEY ]; $app->alias( 'cart', 'surecart.cart' ); } /** * Bootstrap any services if needed. * * @param \Pimple\Container $container Service container. * @return void */ public function bootstrap( $container ) { $container['surecart.cart']->bootstrap(); } }
Copyright ©2021 || Defacer Indonesia