Yoast\WP\SEO\Generated

Cached_Container::getCleanupIntegration2ServiceprotectedYoast 1.0

Gets the public 'Yoast\WP\SEO\User_Meta\User_Interface\Cleanup_Integration' shared autowired service.

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\User_Meta\User_Interface\Cleanup_Integration.

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

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

Код Cached_Container::getCleanupIntegration2Service() Yoast 28.0

protected function getCleanupIntegration2Service()
{
    return $this->services['Yoast\\WP\\SEO\\User_Meta\\User_Interface\\Cleanup_Integration'] = new \Yoast\WP\SEO\User_Meta\User_Interface\Cleanup_Integration(new \Yoast\WP\SEO\User_Meta\Application\Cleanup_Service(($this->services['Yoast\\WP\\SEO\\User_Meta\\Application\\Additional_Contactmethods_Collector'] ?? $this->getAdditionalContactmethodsCollectorService()), ($this->services['Yoast\\WP\\SEO\\User_Meta\\Application\\Custom_Meta_Collector'] ?? $this->getCustomMetaCollectorService()), new \Yoast\WP\SEO\User_Meta\Infrastructure\Cleanup_Repository()));
}