Yoast\WP\SEO\Dashboard\Infrastructure\Indexables

Top_Page_Indexable_Collector::__constructpublicYoast 1.0

The constructor.

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

Хуков нет.

Возвращает

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

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

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

Код Top_Page_Indexable_Collector::__construct() Yoast 28.0

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