Yoast\WP\SEO\Builders
Indexable_Hierarchy_Builder::__construct
Indexable_Author_Builder constructor.
Метод класса: Indexable_Hierarchy_Builder{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Indexable_Hierarchy_Builder = new Indexable_Hierarchy_Builder(); $Indexable_Hierarchy_Builder->__construct( $indexable_hierarchy_repository, $primary_term_repository, $options, $post, $indexable_helper );
- $indexable_hierarchy_repository(Indexable_Hierarchy_Repository) (обязательный)
- The indexable hierarchy repository.
- $primary_term_repository(Primary_Term_Repository) (обязательный)
- The primary term repository.
- $options(Options_Helper) (обязательный)
- The options helper.
- $post(Post_Helper) (обязательный)
- The post helper.
- $indexable_helper(Indexable_Helper) (обязательный)
- The indexable helper.
Код Indexable_Hierarchy_Builder::__construct() Indexable Hierarchy Builder:: construct Yoast 26.5
public function __construct(
Indexable_Hierarchy_Repository $indexable_hierarchy_repository,
Primary_Term_Repository $primary_term_repository,
Options_Helper $options,
Post_Helper $post,
Indexable_Helper $indexable_helper
) {
$this->indexable_hierarchy_repository = $indexable_hierarchy_repository;
$this->primary_term_repository = $primary_term_repository;
$this->options = $options;
$this->post = $post;
$this->indexable_helper = $indexable_helper;
}