Yoast\WP\SEO\Alerts\Application\Ping_Other_Admins

Ping_Other_Admins_Alert::__construct │ public │ Yoast 1.0

Ping_Other_Admins_Alert constructor.

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

Хуков нет.

Возвращает

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

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

$Ping_Other_Admins_Alert = new Ping_Other_Admins_Alert();
$Ping_Other_Admins_Alert->__construct( $notification_center, $short_link_helper, $product_helper, $options_helper, $user_helper );
$notification_center(Yoast_Notification_Center) (обязательный)
The notification center.
$short_link_helper(Short_Link_Helper) (обязательный)
The short link helper.
$product_helper(Product_Helper) (обязательный)
The product helper.
$options_helper(Options_Helper) (обязательный)
The options helper.
$user_helper(User_Helper) (обязательный)
The user helper.

Код Ping_Other_Admins_Alert::__construct() Yoast 28.9

public function __construct(
	Yoast_Notification_Center $notification_center,
	Short_Link_Helper $short_link_helper,
	Product_Helper $product_helper,
	Options_Helper $options_helper,
	User_Helper $user_helper
) {
	$this->notification_center = $notification_center;
	$this->short_link_helper   = $short_link_helper;
	$this->product_helper      = $product_helper;
	$this->options_helper      = $options_helper;
	$this->user_helper         = $user_helper;
}