@@ 30-53 (lines=24) @@ | ||
27 | * Class Base |
|
28 | * @package HaaseIT\HCSF\Controller\Customer |
|
29 | */ |
|
30 | class Base extends \HaaseIT\HCSF\Controller\Base |
|
31 | { |
|
32 | /** |
|
33 | * @var \HaaseIT\HCSF\Customer\Helper |
|
34 | */ |
|
35 | protected $helperCustomer; |
|
36 | ||
37 | /** |
|
38 | * @var \HaaseIT\HCSF\Shop\Helper |
|
39 | */ |
|
40 | protected $helperShop; |
|
41 | ||
42 | /** |
|
43 | * Base constructor. |
|
44 | * @param ServiceManager $serviceManager |
|
45 | */ |
|
46 | public function __construct(ServiceManager $serviceManager) |
|
47 | { |
|
48 | parent::__construct($serviceManager); |
|
49 | $this->requireModuleCustomer = true; |
|
50 | $this->helperCustomer = $serviceManager->get('helpercustomer'); |
|
51 | $this->helperShop = $serviceManager->get('helpershop'); |
|
52 | } |
|
53 | } |
|
54 |
@@ 30-53 (lines=24) @@ | ||
27 | * Class Base |
|
28 | * @package HaaseIT\HCSF\Controller\Shop |
|
29 | */ |
|
30 | class Base extends \HaaseIT\HCSF\Controller\Base |
|
31 | { |
|
32 | /** |
|
33 | * @var \HaaseIT\HCSF\Customer\Helper |
|
34 | */ |
|
35 | protected $helperCustomer; |
|
36 | ||
37 | /** |
|
38 | * @var \HaaseIT\HCSF\Shop\Helper |
|
39 | */ |
|
40 | protected $helperShop; |
|
41 | ||
42 | /** |
|
43 | * Base constructor. |
|
44 | * @param ServiceManager $serviceManager |
|
45 | */ |
|
46 | public function __construct(ServiceManager $serviceManager) |
|
47 | { |
|
48 | parent::__construct($serviceManager); |
|
49 | $this->requireModuleShop = true; |
|
50 | $this->helperCustomer = $serviceManager->get('helpercustomer'); |
|
51 | $this->helperShop = $serviceManager->get('helpershop'); |
|
52 | } |
|
53 | } |
|
54 |