Yoast\WP\SEO\Editors\Framework\Site
Post_Site_Information::__construct
Constructs the class.
Метод класса: Post_Site_Information{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Post_Site_Information = new Post_Site_Information(); $Post_Site_Information->__construct( $short_link_helper, $wistia_embed_permission_repository, $meta, $product_helper, $alert_dismissal_action, $options_helper, $promotion_manager, $default_seo_data_collector );
- $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.
- $alert_dismissal_action(Alert_Dismissal_Action) (обязательный)
- The alert dismissal action.
- $options_helper(Options_Helper) (обязательный)
- The options helper.
- $promotion_manager(Promotion_Manager) (обязательный)
- The promotion manager.
- $default_seo_data_collector(Default_SEO_Data_Collector) (обязательный)
- The default SEO data collector.
Код Post_Site_Information::__construct() Post Site Information:: construct Yoast 27.6
public function __construct(
Short_Link_Helper $short_link_helper,
Wistia_Embed_Permission_Repository $wistia_embed_permission_repository,
Meta_Surface $meta,
Product_Helper $product_helper,
Alert_Dismissal_Action $alert_dismissal_action,
Options_Helper $options_helper,
Promotion_Manager $promotion_manager,
Default_SEO_Data_Collector $default_seo_data_collector
) {
parent::__construct( $short_link_helper, $wistia_embed_permission_repository, $meta, $product_helper, $options_helper, $promotion_manager );
$this->alert_dismissal_action = $alert_dismissal_action;
$this->default_seo_data_collector = $default_seo_data_collector;
}