Yoast\WP\SEO\Builders

Indexable_Post_Builder::__construct()publicYoast 1.0

Indexable_Post_Builder constructor.

{} Это метод класса: Indexable_Post_Builder{}

Хуков нет.

Возвращает

null. Ничего.

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

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

Код Indexable_Post_Builder::__construct() Yoast 19.2

public function __construct(
	Post_Helper $post_helper,
	Post_Type_Helper $post_type_helper,
	Indexable_Builder_Versions $versions,
	Meta_Helper $meta
) {
	$this->post_helper      = $post_helper;
	$this->post_type_helper = $post_type_helper;
	$this->version          = $versions->get_latest_version_for_type( 'post' );
	$this->meta             = $meta;
}