Yoast\WP\SEO\Repositories

Indexable_Repository::__construct()publicYoast 1.0

Returns the instance of this class constructed through the ORM Wrapper.

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

Хуков нет.

Возвращает

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

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

$Indexable_Repository = new Indexable_Repository();
$Indexable_Repository->__construct(;

Код Indexable_Repository::__construct() Yoast 24.0

public function __construct(
	Indexable_Builder $builder,
	Current_Page_Helper $current_page,
	Logger $logger,
	Indexable_Hierarchy_Repository $hierarchy_repository,
	wpdb $wpdb,
	Indexable_Version_Manager $version_manager
) {
	$this->builder              = $builder;
	$this->current_page         = $current_page;
	$this->logger               = $logger;
	$this->hierarchy_repository = $hierarchy_repository;
	$this->wpdb                 = $wpdb;
	$this->version_manager      = $version_manager;
}