Yoast\WP\SEO\Generators

Breadcrumbs_Generator::__construct()publicYoast 1.0

Breadcrumbs_Generator constructor.

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

Хуков нет.

Возвращает

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

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

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

Код Breadcrumbs_Generator::__construct() Yoast 24.0

public function __construct(
	Indexable_Repository $repository,
	Options_Helper $options,
	Current_Page_Helper $current_page_helper,
	Post_Type_Helper $post_type_helper,
	Url_Helper $url_helper,
	Pagination_Helper $pagination_helper
) {
	$this->repository          = $repository;
	$this->options             = $options;
	$this->current_page_helper = $current_page_helper;
	$this->post_type_helper    = $post_type_helper;
	$this->url_helper          = $url_helper;
	$this->pagination_helper   = $pagination_helper;
}