Yoast\WP\SEO\Task_List\Infrastructure\Indexables

Recent_Content_Indexable_Collector::__constructpublicYoast 1.0

The constructor.

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

Хуков нет.

Возвращает

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

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

$Recent_Content_Indexable_Collector = new Recent_Content_Indexable_Collector();
$Recent_Content_Indexable_Collector->__construct( $indexable_repository, $seo_score_groups_repository, $readability_score_groups_repository );
$indexable_repository(Indexable_Repository) (обязательный)
The indexable repository.
$seo_score_groups_repository(SEO_Score_Groups_Repository) (обязательный)
The SEO score groups repository.
$readability_score_groups_repository(Readability_Score_Groups_Repository) (обязательный)
The readability score groups repository.

Код Recent_Content_Indexable_Collector::__construct() Yoast 27.7

public function __construct(
	Indexable_Repository $indexable_repository,
	SEO_Score_Groups_Repository $seo_score_groups_repository,
	Readability_Score_Groups_Repository $readability_score_groups_repository
) {
	$this->indexable_repository                = $indexable_repository;
	$this->seo_score_groups_repository         = $seo_score_groups_repository;
	$this->readability_score_groups_repository = $readability_score_groups_repository;
}