Yoast\WP\SEO\Presenters

Abstract_Presenter{}Yoast 1.0

Abstract_Presenter class.

Хуков нет.

Использование

$Abstract_Presenter = new Abstract_Presenter();
// use class methods

Методы

  1. public __toString()
  2. public present()

Код Abstract_Presenter{} Yoast 19.10

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();
	}
}