Yoast\WP\SEO\Introductions\Application

Delayed_Premium_Upsell::__construct │ public │ Yoast 1.0

Delayed_Premium_Upsell constructor.

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

Хуков нет.

Возвращает

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

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

$Delayed_Premium_Upsell = new Delayed_Premium_Upsell();
$Delayed_Premium_Upsell->__construct( $current_page_helper, $introductions_seen_repository, $options_helper, $product_helper );
$current_page_helper(Current_Page_Helper) (обязательный)
The current page helper.
$introductions_seen_repository(Introductions_Seen_Repository) (обязательный)
The introductions seen repository.
$options_helper(Options_Helper) (обязательный)
The options helper.
$product_helper(Product_Helper) (обязательный)
The product helper.

Код Delayed_Premium_Upsell::__construct() Yoast 28.9

public function __construct( Current_Page_Helper $current_page_helper, Introductions_Seen_Repository $introductions_seen_repository, Options_Helper $options_helper, Product_Helper $product_helper ) {
	$this->current_page_helper           = $current_page_helper;
	$this->introductions_seen_repository = $introductions_seen_repository;
	$this->options_helper                = $options_helper;
	$this->product_helper                = $product_helper;
}