Yoast\WP\SEO\Generated

Cached_Container::getAcademyIntegrationServiceprotectedYoast 1.0

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

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\Integrations\Academy_Integration.

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

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

Код Cached_Container::getAcademyIntegrationService() Yoast 28.0

protected function getAcademyIntegrationService()
{
    return $this->services['Yoast\\WP\\SEO\\Integrations\\Academy_Integration'] = new \Yoast\WP\SEO\Integrations\Academy_Integration(($this->services['WPSEO_Admin_Asset_Manager'] ?? $this->getWPSEOAdminAssetManagerService()), ($this->services['Yoast\\WP\\SEO\\Helpers\\Current_Page_Helper'] ?? $this->getCurrentPageHelperService()), ($this->services['Yoast\\WP\\SEO\\Helpers\\Product_Helper'] ?? ($this->services['Yoast\\WP\\SEO\\Helpers\\Product_Helper'] = new \Yoast\WP\SEO\Helpers\Product_Helper())), ($this->services['Yoast\\WP\\SEO\\Helpers\\Short_Link_Helper'] ?? $this->getShortLinkHelperService()));
}