final | |
|---|---|
readonly | |
implements |
ResourceStoreInterface |
Chains a primary ResourceStoreInterface (exact-URI matches) with a fallback
ResourceTemplateStoreInterface (URI-template matches). read() tries the
primary first. On ResourceNotFoundException it falls through to the template
store, only re-raising the not-found when neither side matches. list()
delegates to the primary unchanged.
| Methods | ||
|---|---|---|
public
|
__construct(ResourceStoreInterface $resourceStore, ResourceTemplateStoreInterface $resourceTemplateStore)
|
# |
public
|
list(?Cursor $cursor): ListResourcesResult
|
# |
public
|
read(string $uri, ServerContext $context): ReadResourceResult
|
# |