Skip to content

Commit

Permalink
Rename "channel-definitions" to "channels"
Browse files Browse the repository at this point in the history
  • Loading branch information
vjik committed Nov 7, 2024
1 parent 06a3fb8 commit 8f593d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions config/di.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
QueueProviderInterface::class => [
'class' => QueueFactoryQueueProvider::class,
'__construct()' => [
'definitions' => $params['yiisoft/queue']['channel-definitions'],
'definitions' => $params['yiisoft/queue']['channels'],
],
],
QueueWorker::class => [
Expand Down Expand Up @@ -61,12 +61,12 @@
MessageSerializerInterface::class => JsonMessageSerializer::class,
RunCommand::class => [
'__construct()' => [
'channels' => array_keys($params['yiisoft/queue']['channel-definitions']),
'channels' => array_keys($params['yiisoft/queue']['channels']),
],
],
ListenAllCommand::class => [
'__construct()' => [
'channels' => array_keys($params['yiisoft/queue']['channel-definitions']),
'channels' => array_keys($params['yiisoft/queue']['channels']),
],
],
];
2 changes: 1 addition & 1 deletion config/params.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
],
'yiisoft/queue' => [
'handlers' => [],
'channel-definitions' => [],
'channels' => [],
'middlewares-push' => [],
'middlewares-consume' => [],
'middlewares-fail' => [],
Expand Down

0 comments on commit 8f593d9

Please sign in to comment.