-
Notifications
You must be signed in to change notification settings - Fork 0
/
NovalnetBundle.php
executable file
·76 lines (67 loc) · 1.65 KB
/
NovalnetBundle.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<?php
/**
* Novalnet payment bundle
*
* NOTICE OF LICENSE
*
* This source file is subject to the Novalnet End User License Agreement
* that is bundled with this package in the file LICENSE.txt
*
* DISCLAIMER
*
* If you wish to customize Novalnet payment bundle for your needs,
* please contact technic@novalnet.de for more information.
*
* @category Novalnet
* @package Novalnet_Payment
* @copyright Copyright (c) Novalnet AG
* @license https://www.novalnet.de/payment-plugins/kostenlos/lizenz
*/
declare(strict_types=1);
namespace NovalnetBundle;
use Pimcore\Extension\Bundle\AbstractPimcoreBundle;
use CoreShop\Bundle\ResourceBundle\AbstractResourceBundle;
use Pimcore\Extension\Bundle\Traits\PackageVersionTrait;
use CoreShop\Bundle\ResourceBundle\CoreShopResourceBundle;
class NovalnetBundle extends AbstractResourceBundle
{
use PackageVersionTrait;
public const NOVALNET_BUNDLE_VERSION = '1.0.0';
/**
* @inheritDoc
*/
protected function getComposerPackageName(): string
{
return 'novalnet/pimcore-coreshop';
}
/**
* @inheritDoc
*/
public function getSupportedDrivers(): array
{
return [
CoreShopResourceBundle::DRIVER_DOCTRINE_ORM,
];
}
/**
* @inheritDoc
*/
protected function getModelNamespace(): ?string
{
return 'NovalnetBundle\Model';
}
/**
* @inheritDoc
*/
public function getVersion(): string
{
return self::NOVALNET_BUNDLE_VERSION;
}
/**
* @inheritDoc
*/
public function getDescription(): string
{
return 'Novalnet Payment bundle for coreshop';
}
}