Yoast\WP\SEO\Schema_Aggregator\Infrastructure\Indexable_Repository

Indexable_Repository_Factory::__constructpublicYoast 1.0

Constructor.

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

Хуков нет.

Возвращает

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

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

$Indexable_Repository_Factory = new Indexable_Repository_Factory();
$Indexable_Repository_Factory->__construct( $native_repository, $wordpress_repository );
$native_repository(Indexable_Repository) (обязательный)
The native indexable repository.
$wordpress_repository(WordPress_Query_Repository) (обязательный)
The WordPress indexable repository.

Код Indexable_Repository_Factory::__construct() Yoast 28.3

public function __construct(
	Indexable_Repository $native_repository,
	WordPress_Query_Repository $wordpress_repository
) {
	$this->native_repository    = $native_repository;
	$this->wordpress_repository = $wordpress_repository;
}