Yoast\WP\SEO\Services\Health_Check

Report_Builder_Factory{}Yoast 1.0

Creates Report_Builder instances.

Хуков нет.

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

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

Методы

  1. public create( $test_identifier )

Код Report_Builder_Factory{} Yoast 19.2

class Report_Builder_Factory {

	/**
	 * Creates a new Report_Builder instance.
	 *
	 * @param string $test_identifier The test identifier as a string.
	 * @return Report_Builder The new Report_Builder instance.
	 */
	public function create( $test_identifier ) {
		$instance = new Report_Builder();
		return $instance->set_test_identifier( $test_identifier );
	}
}