Yoast\WP\SEO\AI\Content_Planner\Application
Content_Outline_Command_Handler::__construct
The constructor.
Метод класса: Content_Outline_Command_Handler{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Content_Outline_Command_Handler = new Content_Outline_Command_Handler(); $Content_Outline_Command_Handler->__construct( $recent_content_collector, $ai_request_sender_factory, $consent_handler );
- $recent_content_collector(Recent_Content_Collector) (обязательный)
- The recent content collector.
- $ai_request_sender_factory(AI_Request_Sender_Factory) (обязательный)
- The auth strategy factory.
- $consent_handler(Consent_Handler) (обязательный)
- The consent handler.
Код Content_Outline_Command_Handler::__construct() Content Outline Command Handler:: construct Yoast 28.3
public function __construct(
Recent_Content_Collector $recent_content_collector,
AI_Request_Sender_Factory $ai_request_sender_factory,
Consent_Handler $consent_handler
) {
$this->recent_content_collector = $recent_content_collector;
$this->ai_request_sender_factory = $ai_request_sender_factory;
$this->consent_handler = $consent_handler;
}