Yoast\WP\SEO\Schema_Aggregator\Application\Schema_Map
Schema_Map_Builder::with_repository
Sets the schema map repository.
Метод класса: Schema_Map_Builder{}
Хуков нет.
Возвращает
self.
Использование
$Schema_Map_Builder = new Schema_Map_Builder(); $Schema_Map_Builder->with_repository( $schema_map_repository ): self;
- $schema_map_repository(Schema_Map_Repository_Interface) (обязательный)
- The schema map repository.
Код Schema_Map_Builder::with_repository() Schema Map Builder::with repository Yoast 27.8
public function with_repository( Schema_Map_Repository_Interface $schema_map_repository ): self {
$this->schema_map_repository = $schema_map_repository;
return $this;
}