Yoast\WP\SEO\Generated

Cached_Container::getSiteKitConsentRepositoryServiceprotectedYoast 1.0

Gets the private 'Yoast\WP\SEO\Dashboard\Infrastructure\Configuration\Site_Kit_Consent_Repository' shared autowired service.

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\Dashboard\Infrastructure\Configuration\Site_Kit_Consent_Repository.

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

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

Код Cached_Container::getSiteKitConsentRepositoryService() Yoast 28.0

protected function getSiteKitConsentRepositoryService()
{
    return $this->privates['Yoast\\WP\\SEO\\Dashboard\\Infrastructure\\Configuration\\Site_Kit_Consent_Repository'] = new \Yoast\WP\SEO\Dashboard\Infrastructure\Configuration\Site_Kit_Consent_Repository(($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] ?? ($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] = new \Yoast\WP\SEO\Helpers\Options_Helper())));
}