Yoast\WP\SEO\Schema_Aggregator\Infrastructure\Schema_Map
Schema_Map_Repository_Factory::__construct
Constructor.
Метод класса: Schema_Map_Repository_Factory{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Schema_Map_Repository_Factory = new Schema_Map_Repository_Factory(); $Schema_Map_Repository_Factory->__construct( $native_repository, $wordpress_repository );
- $native_repository(Schema_Map_Indexable_Repository) (обязательный)
- The native indexable repository.
- $wordpress_repository(Schema_Map_WordPress_Repository) (обязательный)
- The WordPress indexable repository.
Код Schema_Map_Repository_Factory::__construct() Schema Map Repository Factory:: construct Yoast 28.9
public function __construct(
Schema_Map_Indexable_Repository $native_repository,
Schema_Map_WordPress_Repository $wordpress_repository
) {
$this->native_repository = $native_repository;
$this->wordpress_repository = $wordpress_repository;
}