Yoast\WP\SEO\Editors\Framework\Site

Base_Site_Information::__constructpublicYoast 1.0

The constructor.

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

Хуков нет.

Возвращает

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

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

$Base_Site_Information = new Base_Site_Information();
$Base_Site_Information->__construct( $short_link_helper, $wistia_embed_permission_repository, $meta, $product_helper, $options_helper, $promotion_manager );
$short_link_helper(Short_Link_Helper) (обязательный)
The short link helper.
$wistia_embed_permission_repository(Wistia_Embed_Permission_Repository) (обязательный)
The wistia embed permission repository.
$meta(Meta_Surface) (обязательный)
The meta surface.
$product_helper(Product_Helper) (обязательный)
The product helper.
$options_helper(Options_Helper) (обязательный)
The options helper.
$promotion_manager(Promotion_Manager) (обязательный)
The promotion manager.

Код Base_Site_Information::__construct() Yoast 27.4

public function __construct(
	Short_Link_Helper $short_link_helper,
	Wistia_Embed_Permission_Repository $wistia_embed_permission_repository,
	Meta_Surface $meta,
	Product_Helper $product_helper,
	Options_Helper $options_helper,
	Promotion_Manager $promotion_manager
) {
	$this->short_link_helper                  = $short_link_helper;
	$this->wistia_embed_permission_repository = $wistia_embed_permission_repository;
	$this->meta                               = $meta;
	$this->product_helper                     = $product_helper;
	$this->options_helper                     = $options_helper;
	$this->promotion_manager                  = $promotion_manager;
}