File tree Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 88use Illuminate \Contracts \Auth \Authenticatable ;
99use Illuminate \Contracts \Support \Arrayable ;
1010use Illuminate \Support \Facades \Validator ;
11+ use Illuminate \Support \Traits \Conditionable ;
1112use Illuminate \Support \Traits \InteractsWithData ;
13+ use Illuminate \Support \Traits \Macroable ;
1214use Illuminate \Validation \ValidationException ;
1315
1416/**
1517 * @implements Arrayable<string, mixed>
1618 */
1719class Request implements Arrayable
1820{
21+ use Conditionable;
1922 use InteractsWithData;
23+ use Macroable;
2024
2125 /**
2226 * @param array<string, mixed> $arguments
Original file line number Diff line number Diff line change 44
55namespace Laravel \Mcp ;
66
7+ use Illuminate \Support \Traits \Conditionable ;
8+ use Illuminate \Support \Traits \Macroable ;
79use JsonException ;
810use Laravel \Mcp \Enums \Role ;
911use Laravel \Mcp \Exceptions \NotImplementedException ;
1416
1517class Response
1618{
19+ use Conditionable;
20+ use Macroable;
21+
1722 protected function __construct (
1823 protected Content $ content ,
1924 protected Role $ role = Role::USER ,
Original file line number Diff line number Diff line change 66
77use Illuminate \Container \Container ;
88use Illuminate \Contracts \Auth \Authenticatable ;
9+ use Illuminate \Support \Traits \Conditionable ;
10+ use Illuminate \Support \Traits \Macroable ;
911use Laravel \Mcp \Server \Primitive ;
1012use Laravel \Mcp \Server \Prompt ;
1113use Laravel \Mcp \Server \Resource ;
1618
1719class TestResponse
1820{
21+ use Conditionable;
22+ use Macroable;
23+
1924 protected JsonRpcResponse $ response ;
2025
2126 /**
You can’t perform that action at this time.
0 commit comments