Yoast\WP\SEO\Generated

Cached_Container::getDuplicatePostIntegrationService()protectedYoast 1.0

Gets the public 'Yoast\WP\SEO\Integrations\Duplicate_Post_Integration' shared autowired service.

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\Integrations\Duplicate_Post_Integration.

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

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

Код Cached_Container::getDuplicatePostIntegrationService() Yoast 22.3

protected function getDuplicatePostIntegrationService()
{
    return $this->services['Yoast\\WP\\SEO\\Integrations\\Duplicate_Post_Integration'] = new \Yoast\WP\SEO\Integrations\Duplicate_Post_Integration();
}