Yoast\WP\SEO\Routes

Indexing_Route::__constructpublicYoast 1.0

Indexing_Route constructor.

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

Хуков нет.

Возвращает

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

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

$Indexing_Route = new Indexing_Route();
$Indexing_Route->__construct( $post_indexation_action, $term_indexation_action, $post_type_archive_indexation_action, $general_indexation_action, $indexable_indexing_complete_action, $indexing_complete_action, $prepare_indexing_action, $post_link_indexing_action, $term_link_indexing_action, $options_helper, $indexing_helper );
$post_indexation_action(Indexable_Post_Indexation_Action) (обязательный)
The post indexing action.
$term_indexation_action(Indexable_Term_Indexation_Action) (обязательный)
The term indexing action.
$post_type_archive_indexation_action(Indexable_Post_Type_Archive_Indexation_Action) (обязательный)
The post type archive indexing action.
$general_indexation_action(Indexable_General_Indexation_Action) (обязательный)
The general indexing action.
$indexable_indexing_complete_action(Indexable_Indexing_Complete_Action) (обязательный)
The complete indexing action.
$indexing_complete_action(Indexing_Complete_Action) (обязательный)
The complete indexing action.
$prepare_indexing_action(Indexing_Prepare_Action) (обязательный)
The prepare indexing action.
$post_link_indexing_action(Post_Link_Indexing_Action) (обязательный)
The post link indexing action.
$term_link_indexing_action(Term_Link_Indexing_Action) (обязательный)
The term link indexing action.
$options_helper(Options_Helper) (обязательный)
The options helper.
$indexing_helper(Indexing_Helper) (обязательный)
The indexing helper.

Код Indexing_Route::__construct() Yoast 25.3.1

public function __construct(
	Indexable_Post_Indexation_Action $post_indexation_action,
	Indexable_Term_Indexation_Action $term_indexation_action,
	Indexable_Post_Type_Archive_Indexation_Action $post_type_archive_indexation_action,
	Indexable_General_Indexation_Action $general_indexation_action,
	Indexable_Indexing_Complete_Action $indexable_indexing_complete_action,
	Indexing_Complete_Action $indexing_complete_action,
	Indexing_Prepare_Action $prepare_indexing_action,
	Post_Link_Indexing_Action $post_link_indexing_action,
	Term_Link_Indexing_Action $term_link_indexing_action,
	Options_Helper $options_helper,
	Indexing_Helper $indexing_helper
) {
	$this->post_indexation_action              = $post_indexation_action;
	$this->term_indexation_action              = $term_indexation_action;
	$this->post_type_archive_indexation_action = $post_type_archive_indexation_action;
	$this->general_indexation_action           = $general_indexation_action;
	$this->indexable_indexing_complete_action  = $indexable_indexing_complete_action;
	$this->indexing_complete_action            = $indexing_complete_action;
	$this->prepare_indexing_action             = $prepare_indexing_action;
	$this->options_helper                      = $options_helper;
	$this->post_link_indexing_action           = $post_link_indexing_action;
	$this->term_link_indexing_action           = $term_link_indexing_action;
	$this->indexing_helper                     = $indexing_helper;
}