Skip to content

Commit

Permalink
Split yii-debug package codebase
Browse files Browse the repository at this point in the history
  • Loading branch information
xepozz committed Mar 26, 2023
1 parent 01ddeaa commit dbcbeda
Show file tree
Hide file tree
Showing 6 changed files with 825 additions and 0 deletions.
6 changes: 6 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@
"extra": {
"branch-alias": {
"dev-master": "3.0.x-dev"
},
"config-plugin-options": {
"source-directory": "config"
},
"config-plugin": {
"params": "params.php"
}
},
"config": {
Expand Down
18 changes: 18 additions & 0 deletions config/params.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php

declare(strict_types=1);

use Yiisoft\Db\Connection\ConnectionInterface;
use Yiisoft\Db\Debug\ConnectionInterfaceProxy;
use Yiisoft\Db\Debug\DatabaseCollector;

return [
'yiisoft/yii-debug' => [
'collectors' => [
DatabaseCollector::class,
],
'trackedServices' => [
ConnectionInterface::class => [ConnectionInterfaceProxy::class, DatabaseCollector::class],
],
],
];
Loading

0 comments on commit dbcbeda

Please sign in to comment.