Yoast\WP\SEO\Actions\Importing\Aioseo

Aioseo_Posts_Importing_Action::__constructpublicYoast 1.0

Class constructor.

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

Хуков нет.

Возвращает

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

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

$Aioseo_Posts_Importing_Action = new Aioseo_Posts_Importing_Action();
$Aioseo_Posts_Importing_Action->__construct( $indexable_repository, $wpdb, $import_cursor, $indexable_helper, $indexable_to_postmeta, $options, $image, $sanitization, $replacevar_handler, $robots_provider, $robots_transformer, $social_images_provider );
$indexable_repository(Indexable_Repository) (обязательный)
The indexables repository.
$wpdb(wpdb) (обязательный)
The WordPress database instance.
$import_cursor(Import_Cursor_Helper) (обязательный)
The import cursor helper.
$indexable_helper(Indexable_Helper) (обязательный)
The indexable helper.
$indexable_to_postmeta(Indexable_To_Postmeta_Helper) (обязательный)
The indexable_to_postmeta helper.
$options(Options_Helper) (обязательный)
The options helper.
$image(Image_Helper) (обязательный)
The image helper.
$sanitization(Sanitization_Helper) (обязательный)
The sanitization helper.
$replacevar_handler(Aioseo_Replacevar_Service) (обязательный)
The replacevar handler.
$robots_provider(Aioseo_Robots_Provider_Service) (обязательный)
The robots provider service.
$robots_transformer(Aioseo_Robots_Transformer_Service) (обязательный)
The robots transfomer service.
$social_images_provider(Aioseo_Social_Images_Provider_Service) (обязательный)
The social images provider service.

Код Aioseo_Posts_Importing_Action::__construct() Yoast 27.8

public function __construct(
	Indexable_Repository $indexable_repository,
	wpdb $wpdb,
	Import_Cursor_Helper $import_cursor,
	Indexable_Helper $indexable_helper,
	Indexable_To_Postmeta_Helper $indexable_to_postmeta,
	Options_Helper $options,
	Image_Helper $image,
	Sanitization_Helper $sanitization,
	Aioseo_Replacevar_Service $replacevar_handler,
	Aioseo_Robots_Provider_Service $robots_provider,
	Aioseo_Robots_Transformer_Service $robots_transformer,
	Aioseo_Social_Images_Provider_Service $social_images_provider
) {
	parent::__construct( $import_cursor, $options, $sanitization, $replacevar_handler, $robots_provider, $robots_transformer );

	$this->indexable_repository   = $indexable_repository;
	$this->wpdb                   = $wpdb;
	$this->image                  = $image;
	$this->indexable_helper       = $indexable_helper;
	$this->indexable_to_postmeta  = $indexable_to_postmeta;
	$this->social_images_provider = $social_images_provider;
}