Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
wp-content
/
plugins
/
elementor
/
vendor
/
wordpress
/
php-mcp-schema
/
src
/
Exception
:
UnsupportedRevisionException.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php declare(strict_types=1); namespace WP\McpSchema\Exception; final class UnsupportedRevisionException extends SchemaException { /** * @param array<int, string> $supported */ public static function forRevision(string $revision, array $supported): self { return new self( sprintf( 'Unsupported MCP revision "%s". Supported revisions: %s.', $revision, implode(', ', $supported) ) ); } }