Yoast\WP\SEO\Presenters\Admin

Indexing_Error_Presenter::__constructpublicYoast 1.0

Indexing_Error_Presenter constructor.

Метод класса: Indexing_Error_Presenter{}

Хуков нет.

Возвращает

null. Ничего (null).

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

$Indexing_Error_Presenter = new Indexing_Error_Presenter();
$Indexing_Error_Presenter->__construct( $short_link_helper, $product_helper, $addon_manager );
$short_link_helper(Short_Link_Helper) (обязательный)
Represents the short link helper.
$product_helper(Product_Helper) (обязательный)
The product helper.
$addon_manager(WPSEO_Addon_Manager) (обязательный)
The addon manager.

Код Indexing_Error_Presenter::__construct() Yoast 27.6

public function __construct(
	Short_Link_Helper $short_link_helper,
	Product_Helper $product_helper,
	WPSEO_Addon_Manager $addon_manager
) {
	$this->short_link_helper = $short_link_helper;
	$this->product_helper    = $product_helper;
	$this->addon_manager     = $addon_manager;
}