Yoast\WP\SEO\Abilities\User_Interface\Abilities
Abstract_Score_Ability::__construct
Constructor.
Метод класса: Abstract_Score_Ability{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Abstract_Score_Ability = new Abstract_Score_Ability(); $Abstract_Score_Ability->__construct( $score_retriever, $capability_helper, $enabled_analysis_features_repository, $should_index_indexables_conditional );
- $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.
- $should_index_indexables_conditional(Should_Index_Indexables_Conditional) (обязательный)
- The should index indexables conditional.
Код Abstract_Score_Ability::__construct() Abstract Score Ability:: construct Yoast 28.7
public function __construct(
Score_Retriever $score_retriever,
Capability_Helper $capability_helper,
Enabled_Analysis_Features_Repository $enabled_analysis_features_repository,
Should_Index_Indexables_Conditional $should_index_indexables_conditional
) {
$this->score_retriever = $score_retriever;
$this->capability_helper = $capability_helper;
$this->enabled_analysis_features_repository = $enabled_analysis_features_repository;
$this->should_index_indexables_conditional = $should_index_indexables_conditional;
}