Yoast\WP\SEO\Generated
Cached_Container::getSiteKitConsentRepositoryService()
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() Cached Container::getSiteKitConsentRepositoryService Yoast 25.1
protected function getSiteKitConsentRepositoryService() { return $this->services['Yoast\\WP\\SEO\\Dashboard\\Infrastructure\\Configuration\\Site_Kit_Consent_Repository'] = new \Yoast\WP\SEO\Dashboard\Infrastructure\Configuration\Site_Kit_Consent_Repository(${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] : ($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] = new \Yoast\WP\SEO\Helpers\Options_Helper())) && false ?: '_'}); }