Skip to content

Commit

Permalink
Add package base configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
xepozz committed Nov 7, 2020
1 parent 5a3ed95 commit b104106
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
3 changes: 3 additions & 0 deletions composer.json
Expand Up @@ -43,6 +43,9 @@
"extra": {
"branch-alias": {
"dev-master": "3.0.x-dev"
},
"config-plugin": {
"common": "config/common.php"
}
},
"config": {
Expand Down
17 changes: 17 additions & 0 deletions config/common.php
@@ -0,0 +1,17 @@
<?php

declare(strict_types=1);

use Psr\EventDispatcher\EventDispatcherInterface;
use Psr\EventDispatcher\ListenerProviderInterface;
use Yiisoft\EventDispatcher\Dispatcher\Dispatcher;
use Yiisoft\EventDispatcher\Provider\Provider;

/**
* @var $params array
*/

return [
EventDispatcherInterface::class => Dispatcher::class,
ListenerProviderInterface::class => Provider::class,
];

0 comments on commit b104106

Please sign in to comment.