30 lines
670 B
PHP
30 lines
670 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of the official PHP MCP SDK.
|
|
*
|
|
* A collaboration between Symfony and the PHP Foundation.
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace Mcp\Capability\Resource;
|
|
|
|
/**
|
|
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
|
*/
|
|
final class ResourceReadResult
|
|
{
|
|
public function __construct(
|
|
public readonly string $result,
|
|
public readonly string $uri,
|
|
|
|
/**
|
|
* @var "text"|"blob"
|
|
*/
|
|
public readonly string $type = 'text',
|
|
public readonly string $mimeType = 'text/plain',
|
|
) {
|
|
}
|
|
}
|