Skip to content

Commit 90c131b

Browse files
author
Kuba Płaskonka
authored
Merge pull request #7 from vmalyk/feature/composer-version-trait
Added PackageVersionTrait for get version based on Composer info
2 parents f20d42c + 029f864 commit 90c131b

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Classification Tree lets you add new custom view with classification tree.
2222
- [About Authors](#about-authors)
2323

2424
## Compatibility
25-
This module is compatible with Pimcore 5.3.0 and higher.
25+
This module is compatible with Pimcore 5.5.0 and higher.
2626

2727
## Installing/Getting started
2828

src/ClassificationTreeBundle/DivanteClassificationTreeBundle.php

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,25 @@
66
*/
77
namespace Divante\ClassificationTreeBundle;
88

9-
use Divante\ClassificationTreeBundle\Migrations\Installer;
109
use Pimcore\Extension\Bundle\AbstractPimcoreBundle;
10+
use Pimcore\Extension\Bundle\Traits\PackageVersionTrait;
1111

1212
/**
1313
* Class DivanteClassificationTreeBundle
1414
* @package Divante\ClassificationTreeBundle
1515
*/
1616
class DivanteClassificationTreeBundle extends AbstractPimcoreBundle
1717
{
18+
use PackageVersionTrait;
19+
20+
/**
21+
* {@inheritdoc}
22+
*/
23+
protected function getComposerPackageName()
24+
{
25+
return 'divante-ltd/pimcore-classification-tree';
26+
}
27+
1828
/**
1929
* @return array
2030
*/

0 commit comments

Comments
 (0)