StdioEventDispatcher ​
- Type
- Class
- Namespace
- craft\mcp
- Inherits
- craft\mcp\StdioEventDispatcher
- Implements
Psr\EventDispatcher\EventDispatcherInterface
Saves project config changes before each stdio response is sent.
Over HTTP, changes are saved as each request ends. The stdio server is one long-running command, so without this they’d only be saved when it stops, and nothing else would see them until then.
Public Methods ​
| Method | Description |
|---|---|
| dispatch() |
dispatch() ​
Arguments ​
$event