Yoast\WP\SEO\Alerts\Application\Default_SEO_Data

Default_SEO_Data_Alert::__construct │ public │ Yoast 1.0

Default_SEO_Data_Alert constructor.

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

Хуков нет.

Возвращает

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

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

$Default_SEO_Data_Alert = new Default_SEO_Data_Alert();
$Default_SEO_Data_Alert->__construct( $notification_center, $default_seo_data_collector, $short_link_helper, $product_helper, $indexable_helper, $post_type_helper );
$notification_center(Yoast_Notification_Center) (обязательный)
The notification center.
$default_seo_data_collector(Default_SEO_Data_Collector) (обязательный)
The default SEO data collector.
$short_link_helper(Short_Link_Helper) (обязательный)
The short link helper.
$product_helper(Product_Helper) (обязательный)
The product helper.
$indexable_helper(Indexable_Helper) (обязательный)
The indexable helper.
$post_type_helper(Post_Type_Helper) (обязательный)
The post type helper.

Код Default_SEO_Data_Alert::__construct() Yoast 28.9

public function __construct(
	Yoast_Notification_Center $notification_center,
	Default_SEO_Data_Collector $default_seo_data_collector,
	Short_Link_Helper $short_link_helper,
	Product_Helper $product_helper,
	Indexable_Helper $indexable_helper,
	Post_Type_Helper $post_type_helper
) {
	$this->notification_center        = $notification_center;
	$this->default_seo_data_collector = $default_seo_data_collector;
	$this->short_link_helper          = $short_link_helper;
	$this->product_helper             = $product_helper;
	$this->indexable_helper           = $indexable_helper;
	$this->post_type_helper           = $post_type_helper;
}