| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 127 lines (4 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
FunctionResponse:: (7 methods):
__construct()
getId()
getName()
getResponse()
getJsonSchema()
toArray()
fromArray()
Class: FunctionResponse - X-Ref
Represents a response to a function call.| __construct(?string $id, ?string $name, $response) X-Ref |
| Constructor. param: string|null $id The ID of the function call this is responding to. param: string|null $name The name of the function that was called. param: mixed $response The response data from the function. |
| getId() X-Ref |
| Gets the function call ID. return: string|null The function call ID. |
| getName() X-Ref |
| Gets the function name. return: string|null The function name. |
| getResponse() X-Ref |
| Gets the function response. return: mixed The response data. |
| getJsonSchema() X-Ref |
| {@inheritDoc} |
| toArray() X-Ref |
| {@inheritDoc} return: FunctionResponseArrayShape |
| fromArray(array $array) X-Ref |
| {@inheritDoc} |
| Generated : Sat Jun 13 09:38:55 2026 | Cross-referenced by PHPXref |