Yoast\WP\SEO\Generated
Cached_Container::getCleanupCommandService
Gets the public 'Yoast\WP\SEO\Commands\Cleanup_Command' shared autowired service.
Метод класса: Cached_Container{}
Хуков нет.
Возвращает
\Yoast\WP\SEO\Commands\Cleanup_Command.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->getCleanupCommandService();
Код Cached_Container::getCleanupCommandService() Cached Container::getCleanupCommandService Yoast 27.3
protected function getCleanupCommandService()
{
return $this->services['Yoast\\WP\\SEO\\Commands\\Cleanup_Command'] = new \Yoast\WP\SEO\Commands\Cleanup_Command(($this->services['Yoast\\WP\\SEO\\Integrations\\Cleanup_Integration'] ?? $this->getCleanupIntegrationService()));
}