<?php

namespace Yoast\WP\SEO\AI_Generator\Domain;

/**
 * Class Suggestion
 * Represents a suggestion from the AI Generator API.
 *
 * @deprecated 28.4
 * @codeCoverageIgnore
 */
class Suggestion {

	/**
	 * The suggestion text.
	 *
	 * @var string
	 */
	private $value;

	/**
	 * The constructor.
	 *
	 * @deprecated 28.4
	 * @codeCoverageIgnore
	 *
	 * @param string $value The suggestion text.
	 */
	public function __construct( string $value ) {
		\_deprecated_function( __METHOD__, 'Yoast SEO 28.4' );
		$this->value = $value;
	}

	/**
	 * Returns the suggestion text.
	 *
	 * @deprecated 28.4
	 * @codeCoverageIgnore
	 *
	 * @return string
	 */
	public function get_value(): string {
		\_deprecated_function( __METHOD__, 'Yoast SEO 28.4' );
		return $this->value;
	}
}
