Initial commit: is_shoppingcart out of the box. V3.0.1
This commit is contained in:
21
is_shoppingcart/src/Hook/AbstractHook.php
Normal file
21
is_shoppingcart/src/Hook/AbstractHook.php
Normal file
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Oksydan\IsShoppingcart\Hook;
|
||||
|
||||
use Oksydan\IsShoppingcart\Configuration\ShoppingCartConfiguration;
|
||||
|
||||
abstract class AbstractHook implements HookInterface
|
||||
{
|
||||
protected $module;
|
||||
protected $context;
|
||||
protected $shoppingCartConfiguration;
|
||||
|
||||
public function __construct(\Module $module, \Context $context, ShoppingCartConfiguration $shoppingCartConfiguration)
|
||||
{
|
||||
$this->module = $module;
|
||||
$this->context = $context;
|
||||
$this->shoppingCartConfiguration = $shoppingCartConfiguration;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user