<?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 Matomo\Dependencies\McpServer\Mcp\Schema\Notification;

use Matomo\Dependencies\McpServer\Mcp\Schema\JsonRpc\Notification;
/**
 * A notification from the client to the server, informing it that the list of roots has changed.
 * This notification should be sent whenever the client adds, removes, or modifies any root.
 * The server should then request an updated list of roots using the ListRootsRequest.
 *
 * @author Kyrian Obikwelu <koshnawaza@gmail.com>
 */
class RootsListChangedNotification extends Notification
{
    public static function getMethod() : string
    {
        return 'notifications/roots/list_changed';
    }
    protected static function fromParams(?array $params) : Notification
    {
        return new self();
    }
    protected function getParams() : ?array
    {
        return null;
    }
}
