Yoast\WP\SEO\Promotions\Application

Promotion_Manager::__construct()publicYoast 1.0

Class constructor.

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

Хуков нет.

Возвращает

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

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

$Promotion_Manager = new Promotion_Manager();
$Promotion_Manager->__construct( Promotion_Interface ...$promotions );
Promotion_Interface ...$promotions (обязательный)
-

Код Promotion_Manager::__construct() Yoast 24.4

public function __construct( Promotion_Interface ...$promotions ) {
	$this->promotions_list = $promotions;
}