Skip to content

Commit

Permalink
Merge pull request #4 from patrickjDE/feature-managed
Browse files Browse the repository at this point in the history
managed edition compatibility
  • Loading branch information
Fuzzyma authored Jun 5, 2018
2 parents 410063e + 9d58f1c commit d03c794
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
23 changes: 23 additions & 0 deletions ContaoManager/Plugin.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php

namespace Fuzzyma\Contao\DatabaseCommandsBundle\ContaoManager;

use Contao\CoreBundle\ContaoCoreBundle;
use Contao\ManagerPlugin\Bundle\BundlePluginInterface;
use Contao\ManagerPlugin\Bundle\Parser\ParserInterface;
use Contao\ManagerPlugin\Bundle\Config\BundleConfig;
use Fuzzyma\Contao\DatabaseCommandsBundle\ContaoDatabaseCommandsBundle;

class Plugin implements BundlePluginInterface
{
/**
* {@inheritdoc}
*/
public function getBundles(ParserInterface $parser)
{
return [
BundleConfig::create(ContaoDatabaseCommandsBundle::class)
->setLoadAfter([ContaoCoreBundle::class]),
];
}
}
7 changes: 7 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@
}
],
"require-dev": {
"contao/manager-plugin": "^2.0",
"phpunit/phpunit": "^5.4"
},
"conflict": {
"contao/manager-plugin": "<2.0 || >=3.0"
},
"extra": {
"contao-manager-plugin": "Fuzzyma\\Contao\\DatabaseCommandsBundle\\ContaoManager\\Plugin"
}
}

0 comments on commit d03c794

Please sign in to comment.