• File: PromptReference.php
  • Full Path: /home/slvgwrnz/public_html/wp-content/plugins/elementor/vendor/wordpress/php-mcp-schema/src/Record/PromptReference.php
  • Date Modified: 11/05/2026 9:17 AM
  • File size: 843 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

/**
 * This file is generated. Do not edit it directly.
 */

declare(strict_types=1);

namespace WP\McpSchema\Record;

final class PromptReference extends \WP\McpSchema\Record
{
    public const DEFINITION = 'PromptReference';

    /**
     * @return string
     */
    public function getName(): string
    {
        /** @var string $value */
        $value = $this->declaredValue('name');

        return $value;
    }

    /**
     * @return null|string
     */
    public function getTitle(): ?string
    {
        /** @var null|string $value */
        $value = $this->declaredValue('title');

        return $value;
    }

    /**
     * @return 'ref/prompt'
     */
    public function getType(): string
    {
        /** @var 'ref/prompt' $value */
        $value = $this->declaredValue('type');

        return $value;
    }
}