You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/commandbus-interface.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
-
# CmdBusInterface
1
+
# CommandBusInterface
2
2
3
3
The core contract defining the command bus behavior in the cmd-bus library.
4
4
5
5
## Overview
6
6
7
-
`CmdBusInterface` extends `CommandHandlerInterface` to provide a unified contract for command processing. This interface ensures that any command bus implementation can handle commands consistently.
7
+
`CommandBusInterface` extends `CommandHandlerInterface` to provide a unified contract for command processing. This interface ensures that any command bus implementation can handle commands consistently.
Copy file name to clipboardExpand all lines: docs/commandbus.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,15 @@
1
-
# CmdBus
1
+
# CommandBus
2
2
3
3
The main command bus implementation that orchestrates command processing through a middleware pipeline.
4
4
5
5
## Overview
6
6
7
-
`CmdBus` is the primary entry point for command processing. It accepts commands and delegates their execution to a configured middleware pipeline. This class provides a clean interface for command dispatch while allowing flexible middleware composition.
7
+
`CommandBus` is the primary entry point for command processing. It accepts commands and delegates their execution to a configured middleware pipeline. This class provides a clean interface for command dispatch while allowing flexible middleware composition.
8
8
9
9
## Class Definition
10
10
11
11
```php
12
-
final class CmdBus implements CmdBusInterface
12
+
final class CommandBus implements CommandBusInterface
Copy file name to clipboardExpand all lines: docs/container/commandbus-factory.md
+22-22Lines changed: 22 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,24 +1,24 @@
1
-
# CmdBusFactory
1
+
# CommandBusFactory
2
2
3
-
Factory class for creating `CmdBus` instances with proper dependency injection via Laminas ServiceManager.
3
+
Factory class for creating `CommandBus` instances with proper dependency injection via Laminas ServiceManager.
4
4
5
5
## Overview
6
6
7
-
`CmdBusFactory` is a Laminas ServiceManager factory that creates and configures `CmdBus` instances. It handles dependency resolution and ensures the command bus is properly initialized with its required middleware pipeline.
7
+
`CommandBusFactory` is a Laminas ServiceManager factory that creates and configures `CommandBus` instances. It handles dependency resolution and ensures the command bus is properly initialized with its required middleware pipeline.
8
8
9
9
## Class Definition
10
10
11
11
```php
12
-
final class CmdBusFactory
12
+
final class CommandBusFactory
13
13
{
14
-
public function __invoke(ContainerInterface $container): CmdBus;
14
+
public function __invoke(ContainerInterface $container): CommandBus;
15
15
}
16
16
```
17
17
18
18
## Implementation
19
19
20
20
```php
21
-
public function __invoke(ContainerInterface $container): CmdBus
21
+
public function __invoke(ContainerInterface $container): CommandBus
22
22
{
23
23
if (!$container->has(MiddlewarePipelineInterface::class)) {
0 commit comments