Yoast\WP\SEO\AI\Content_Planner\Infrastructure\Recent_Content

Recent_Content_Collector::__constructpublicYoast 1.0

The constructor.

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

Хуков нет.

Возвращает

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

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

$Recent_Content_Collector = new Recent_Content_Collector();
$Recent_Content_Collector->__construct( $indexable_repository, $primary_term_repository );
$indexable_repository(Indexable_Repository) (обязательный)
The indexable repository.
$primary_term_repository(Primary_Term_Repository) (обязательный)
The primary term repository.

Код Recent_Content_Collector::__construct() Yoast 27.7

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