Skip to content

Commit

Permalink
Merge pull request #7 from vmalyk/feature/composer-version-trait
Browse files Browse the repository at this point in the history
Added PackageVersionTrait for get version based on Composer info
  • Loading branch information
Kuba Płaskonka authored Nov 28, 2019
2 parents f20d42c + 029f864 commit 90c131b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Classification Tree lets you add new custom view with classification tree.
- [About Authors](#about-authors)

## Compatibility
This module is compatible with Pimcore 5.3.0 and higher.
This module is compatible with Pimcore 5.5.0 and higher.

## Installing/Getting started

Expand Down
12 changes: 11 additions & 1 deletion src/ClassificationTreeBundle/DivanteClassificationTreeBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,25 @@
*/
namespace Divante\ClassificationTreeBundle;

use Divante\ClassificationTreeBundle\Migrations\Installer;
use Pimcore\Extension\Bundle\AbstractPimcoreBundle;
use Pimcore\Extension\Bundle\Traits\PackageVersionTrait;

/**
* Class DivanteClassificationTreeBundle
* @package Divante\ClassificationTreeBundle
*/
class DivanteClassificationTreeBundle extends AbstractPimcoreBundle
{
use PackageVersionTrait;

/**
* {@inheritdoc}
*/
protected function getComposerPackageName()
{
return 'divante-ltd/pimcore-classification-tree';
}

/**
* @return array
*/
Expand Down

0 comments on commit 90c131b

Please sign in to comment.