MCP PHP SDK

InitializedNotification extends Notification

This notification is sent from the client to the server after initialization has finished.

Tags
author

Kyrian Obikwelu koshnawaza@gmail.com

Table of Contents

Properties

$meta  : array<string, mixed>|null

Methods

fromArray()  : self
fromParams()  : self
getMethod()  : string
jsonSerialize()  : NotificationData
getParams()  : array<string, mixed>|null

Properties

Methods

fromArray()

public static fromArray(NotificationData $data) : self
Parameters
$data : NotificationData
Return values
self

fromParams()

public static fromParams(array<string|int, mixed>|null $params) : self
Parameters
$params : array<string|int, mixed>|null
Return values
self

jsonSerialize()

public jsonSerialize() : NotificationData
Return values
NotificationData

getParams()

protected getParams() : array<string, mixed>|null
Return values
array<string, mixed>|null

        
On this page

Search results