Yoast\WP\SEO\Alerts\Application\Indexables_Disabled

Indexables_Disabled_Alert::__constructpublicYoast 1.0

Indexables_Disabled_Alert constructor.

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

Хуков нет.

Возвращает

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

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

$Indexables_Disabled_Alert = new Indexables_Disabled_Alert();
$Indexables_Disabled_Alert->__construct( $notification_center, $indexable_helper, $short_link_helper );
$notification_center(Yoast_Notification_Center) (обязательный)
The notification center.
$indexable_helper(Indexable_Helper) (обязательный)
The indexable helper.
$short_link_helper(Short_Link_Helper) (обязательный)
The short link helper.

Код Indexables_Disabled_Alert::__construct() Yoast 27.7

public function __construct(
	Yoast_Notification_Center $notification_center,
	Indexable_Helper $indexable_helper,
	Short_Link_Helper $short_link_helper
) {
	$this->notification_center = $notification_center;
	$this->indexable_helper    = $indexable_helper;
	$this->short_link_helper   = $short_link_helper;
}