Yoast\WP\SEO\Generated

Cached_Container::getCleanupLlmsTxtOnDeactivationServiceprotectedYoast 1.0

Gets the public 'Yoast\WP\SEO\Llms_Txt\User_Interface\Cleanup_Llms_Txt_On_Deactivation' shared autowired service.

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\Llms_Txt\User_Interface\Cleanup_Llms_Txt_On_Deactivation.

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

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->getCleanupLlmsTxtOnDeactivationService();

Код Cached_Container::getCleanupLlmsTxtOnDeactivationService() Yoast 28.0

protected function getCleanupLlmsTxtOnDeactivationService()
{
    return $this->services['Yoast\\WP\\SEO\\Llms_Txt\\User_Interface\\Cleanup_Llms_Txt_On_Deactivation'] = new \Yoast\WP\SEO\Llms_Txt\User_Interface\Cleanup_Llms_Txt_On_Deactivation(($this->privates['Yoast\\WP\\SEO\\Llms_Txt\\Application\\File\\Commands\\Remove_File_Command_Handler'] ?? $this->getRemoveFileCommandHandlerService()), ($this->privates['Yoast\\WP\\SEO\\Llms_Txt\\Application\\File\\Llms_Txt_Cron_Scheduler'] ?? $this->getLlmsTxtCronSchedulerService()));
}