Skip to content

Commit

Permalink
Merge pull request #40 from NiMeDia/patch-2
Browse files Browse the repository at this point in the history
#39 Added Laminas\Cache as module dependency
  • Loading branch information
kokspflanze authored May 4, 2022
2 parents f3414ec + 33615be commit db7f715
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
use Laminas\EventManager\EventInterface;
use Laminas\ModuleManager\Feature\BootstrapListenerInterface;
use Laminas\ModuleManager\Feature\ConfigProviderInterface;
use Laminas\ModuleManager\Feature\DependencyIndicatorInterface;
use Laminas\Mvc\ApplicationInterface;
use Laminas\ServiceManager\ServiceManager;

Expand All @@ -17,7 +18,8 @@
*/
class Module implements
BootstrapListenerInterface,
ConfigProviderInterface
ConfigProviderInterface,
DependencyIndicatorInterface
{
/**
* {@inheritDoc}
Expand Down Expand Up @@ -55,4 +57,14 @@ public function getConfig()
{
return include __DIR__ . '/../config/module.config.php';
}

/**
* {@inheritDoc}
*/
public function getModuleDependencies()
{
return [
'Laminas\Cache',
];
}
}

0 comments on commit db7f715

Please sign in to comment.