Yoast\WP\SEO\Generated
Cached_Container::getAiConsentIntegrationService
Gets the public 'Yoast\WP\SEO\AI_Consent\User_Interface\Ai_Consent_Integration' shared autowired service.
Метод класса: Cached_Container{}
Хуков нет.
Возвращает
\Yoast\WP\SEO\AI_Consent\User_Interface\Ai_Consent_Integration.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->getAiConsentIntegrationService();
Код Cached_Container::getAiConsentIntegrationService() Cached Container::getAiConsentIntegrationService Yoast 26.9
protected function getAiConsentIntegrationService()
{
return $this->services['Yoast\\WP\\SEO\\AI_Consent\\User_Interface\\Ai_Consent_Integration'] = new \Yoast\WP\SEO\AI_Consent\User_Interface\Ai_Consent_Integration(($this->services['WPSEO_Admin_Asset_Manager'] ?? $this->getWPSEOAdminAssetManagerService()), ($this->services['Yoast\\WP\\SEO\\Helpers\\User_Helper'] ?? ($this->services['Yoast\\WP\\SEO\\Helpers\\User_Helper'] = new \Yoast\WP\SEO\Helpers\User_Helper())), ($this->services['Yoast\\WP\\SEO\\Helpers\\Short_Link_Helper'] ?? $this->getShortLinkHelperService()));
}