Yoast\WP\SEO\Generated

Cached_Container::getCleanupCommandService()protectedYoast 1.0

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() Yoast 22.4

protected function getCleanupCommandService()
{
    return $this->services['Yoast\\WP\\SEO\\Commands\\Cleanup_Command'] = new \Yoast\WP\SEO\Commands\Cleanup_Command(${($_ = isset($this->services['Yoast\\WP\\SEO\\Integrations\\Cleanup_Integration']) ? $this->services['Yoast\\WP\\SEO\\Integrations\\Cleanup_Integration'] : $this->getCleanupIntegrationService()) && false ?: '_'});
}