MCP PHP SDK

ResourceReference implements JsonSerializable

A reference to a resource or resource template definition.

Tags
author

Kyrian Obikwelu koshnawaza@gmail.com

Table of Contents

Interfaces

JsonSerializable

Properties

$type  : string
$uri  : string

Methods

__construct()  : mixed
jsonSerialize()  : array{type: string, uri: string}

Properties

Methods

__construct()

public __construct(string $uri) : mixed
Parameters
$uri : string

the URI or URI template of the resource

jsonSerialize()

public jsonSerialize() : array{type: string, uri: string}
Return values
array{type: string, uri: string}

        
On this page

Search results