# wordpress-seo/28.2/src/presenters/abstract-presenter.php

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

- Page: https://pluginprobe.com/plugins/wordpress-seo/28.2/code/src/presenters/abstract-presenter.php
- Raw: https://pluginprobe.com/plugins/wordpress-seo/28.2/raw/src/presenters/abstract-presenter.php
- Modified: 2020-09-01T12:27:02+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.2/code/src/presenters/abstract-presenter.php#L10-L20`.

```php
<?php

namespace Yoast\WP\SEO\Presenters;

/**
 * Abstract_Presenter class.
 */
abstract class Abstract_Presenter {

	/**
	 * Returns the output as string.
	 *
	 * @return string The output.
	 */
	abstract public function present();

	/**
	 * Returns the output as string.
	 *
	 * @return string The output.
	 */
	public function __toString() {
		return $this->present();
	}
}

```
