Yoast\WP\SEO\User_Meta\Application

Cleanup_Service::__constructpublicYoast 1.0

The constructor.

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

Хуков нет.

Возвращает

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

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

$Cleanup_Service = new Cleanup_Service();
$Cleanup_Service->__construct( $additional_contactmethods_collector, $custom_meta_collector, $cleanup_repository );
$additional_contactmethods_collector(Additional_Contactmethods_Collector) (обязательный)
The additional contactmethods collector.
$custom_meta_collector(Custom_Meta_Collector) (обязательный)
The custom meta collector.
$cleanup_repository(Cleanup_Repository) (обязательный)
The cleanup repository.

Код Cleanup_Service::__construct() Yoast 28.2

public function __construct(
	Additional_Contactmethods_Collector $additional_contactmethods_collector,
	Custom_Meta_Collector $custom_meta_collector,
	Cleanup_Repository $cleanup_repository
) {
	$this->additional_contactmethods_collector = $additional_contactmethods_collector;
	$this->custom_meta_collector               = $custom_meta_collector;
	$this->cleanup_repository                  = $cleanup_repository;
}