Kick off the SDK based on Symfony's MCP SDK
This commit is contained in:
parent
0044ffb365
commit
ee0dffe369
1 changed files with 3924 additions and 0 deletions
29
src/Server/NotificationHandler/InitializedHandler.php
Normal file
29
src/Server/NotificationHandler/InitializedHandler.php
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the official PHP MCP SDK.
|
||||
*
|
||||
* A collaboration between Symfony and the PHP Foundation.
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Mcp\Server\NotificationHandler;
|
||||
|
||||
use Mcp\Message\Notification;
|
||||
|
||||
/**
|
||||
* @author Christopher Hertel <mail@christopher-hertel.de>
|
||||
*/
|
||||
final class InitializedHandler extends BaseNotificationHandler
|
||||
{
|
||||
protected function supportedNotification(): string
|
||||
{
|
||||
return 'initialized';
|
||||
}
|
||||
|
||||
public function handle(Notification $notification): void
|
||||
{
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue