forked from Sintraconsulting/pimcore-webhooks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WebHookBundle.php
44 lines (36 loc) · 993 Bytes
/
WebHookBundle.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
<?php
namespace WebHookBundle;
use Pimcore\HttpKernel\Bundle\DependentBundleInterface;
use Pimcore\HttpKernel\BundleCollection\BundleCollection;
use Pimcore\Extension\Bundle\Installer\InstallerInterface;
use Pimcore\Extension\Bundle\Traits\PackageVersionTrait;
use Pimcore\Extension\Bundle\AbstractPimcoreBundle;
use WebHookBundle\Installer\WebHookBundleInstaller;
class WebHookBundle extends AbstractPimcoreBundle {
/*
use PackageVersionTrait;
const PACKAGE_NAME = 'sintra/pimcore-webhooks';
*/
public function getInstaller(): ?InstallerInterface
{
return $this->container->get(WebHookBundleInstaller::class);
}
/**
* {@inheritdoc}
*/
/*
protected function getComposerPackageName(): string
{
return self::PACKAGE_NAME;
}
*/
/**
* @return string
*/
/*
protected static function getPimcoreVersion()
{
return preg_replace('/[^0-9.]/', '', \Pimcore\Version::getVersion());
}
*/
}