final | |
|---|---|
readonly | |
extends |
AbstractPaginatedStore<ResourceTemplateEntry> |
implements |
ResourceTemplateStoreInterface |
In-memory implementation of ResourceTemplateStoreInterface.
| Methods | ||
|---|---|---|
public
|
__construct(array<non-empty-string, ResourceTemplateEntry> $entries = [], int $pageSize = self::DEFAULT_PAGE_SIZE)
|
# |
public
|
list(?Cursor $cursor): ListResourceTemplatesResult
|
# |
public
|
read(string $uri, ServerContext $context): ReadResourceResult
|
# |
| Methods inherited from Nexus\Mcp\Server\AbstractPaginatedStore |
|---|
paginate() |
| Constants | |||
|---|---|---|---|
protected
|
string |
STORE_LABEL = 'Resource template store'
|
# |
| Constants inherited from Nexus\Mcp\Server\AbstractPaginatedStore |
|---|
|
| Properties inherited from Nexus\Mcp\Server\AbstractPaginatedStore |
|---|
$entries, $pageSize |