Yoast\WP\SEO\Abilities\User_Interface

Abilities_Integration::__constructpublicYoast 1.0

Constructor.

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

Хуков нет.

Возвращает

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

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

$Abilities_Integration = new Abilities_Integration();
$Abilities_Integration->__construct( $score_retriever, $capability_helper, $enabled_analysis_features_repository, $post_seo_data_collector, $post_seo_data_updater );
$score_retriever(Score_Retriever) (обязательный)
The score retriever.
$capability_helper(Capability_Helper) (обязательный)
The capability helper.
$enabled_analysis_features_repository(Enabled_Analysis_Features_Repository) (обязательный)
The enabled analysis features repository.
$post_seo_data_collector(Post_SEO_Data_Collector) (обязательный)
The post SEO data collector.
$post_seo_data_updater(Post_SEO_Data_Updater) (обязательный)
The post SEO data updater.

Код Abilities_Integration::__construct() Yoast 28.2

public function __construct(
	Score_Retriever $score_retriever,
	Capability_Helper $capability_helper,
	Enabled_Analysis_Features_Repository $enabled_analysis_features_repository,
	Post_SEO_Data_Collector $post_seo_data_collector,
	Post_SEO_Data_Updater $post_seo_data_updater
) {
	$this->score_retriever                      = $score_retriever;
	$this->capability_helper                    = $capability_helper;
	$this->enabled_analysis_features_repository = $enabled_analysis_features_repository;
	$this->post_seo_data_collector              = $post_seo_data_collector;
	$this->post_seo_data_updater                = $post_seo_data_updater;
}