# wordpress-seo/28.5/src/task-list/domain/components/copy-set.php

Yoast SEO – Advanced SEO with real-time guidance and built-in AI, version 28.5. 60 lines.

- Page: https://pluginprobe.com/plugins/wordpress-seo/28.5/code/src/task-list/domain/components/copy-set.php
- Raw: https://pluginprobe.com/plugins/wordpress-seo/28.5/raw/src/task-list/domain/components/copy-set.php
- Modified: 2026-03-05T08:37:56+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wordpress-seo/28.5/code/src/task-list/domain/components/copy-set.php#L10-L20`.

```php
<?php

// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure.
namespace Yoast\WP\SEO\Task_List\Domain\Components;

/**
 * This class describes a set of copy.
 */
class Copy_Set {

	/**
	 * The title copy.
	 *
	 * @var string
	 */
	private $title;

	/**
	 * The about copy.
	 *
	 * @var string
	 */
	private $about;

	/**
	 * The constructor.
	 *
	 * @param string $title The title copy.
	 * @param string $about The about copy. Can contain HTML markup like <strong> and <p>.
	 */
	public function __construct(
		string $title,
		string $about = ''
	) {
		$this->title = $title;
		$this->about = $about;
	}

	/**
	 * Returns the copy set's about.
	 *
	 * @return string
	 */
	public function get_about(): string {
		return $this->about;
	}

	/**
	 * Returns an array representation of the copy set data.
	 *
	 * @return array<string, string> Returns in an array format.
	 */
	public function to_array(): array {
		return [
			'title' => $this->title,
			'about' => $this->about,
		];
	}
}

```
