MCP PHP SDK

ListCompletionProvider implements ProviderInterface

Tags
author

Kyrian Obikwelu koshnawaza@gmail.com

Table of Contents

Interfaces

ProviderInterface

Properties

$values  : array<string|int, mixed>

Methods

__construct()  : mixed
getCompletions()  : array<string|int, string>
Get completions for a given current value.

Properties

Methods

__construct()

public __construct(array<string|int, string> $values) : mixed
Parameters
$values : array<string|int, string>

getCompletions()

Get completions for a given current value.

public getCompletions(string $currentValue) : array<string|int, string>
Parameters
$currentValue : string

the current value to get completions for

Return values
array<string|int, string>

the completions


        
On this page

Search results