Yoast\WP\SEO\Generated

Cached_Container::getUpgradeSidebarMenuIntegrationServiceprotectedYoast 1.0

Gets the public 'Yoast\WP\SEO\Plans\User_Interface\Upgrade_Sidebar_Menu_Integration' shared autowired service.

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\Plans\User_Interface\Upgrade_Sidebar_Menu_Integration.

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

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

Код Cached_Container::getUpgradeSidebarMenuIntegrationService() Yoast 26.9

protected function getUpgradeSidebarMenuIntegrationService()
{
    return $this->services['Yoast\\WP\\SEO\\Plans\\User_Interface\\Upgrade_Sidebar_Menu_Integration'] = new \Yoast\WP\SEO\Plans\User_Interface\Upgrade_Sidebar_Menu_Integration(($this->services['Yoast\\WP\\SEO\\Conditionals\\WooCommerce_Conditional'] ?? ($this->services['Yoast\\WP\\SEO\\Conditionals\\WooCommerce_Conditional'] = new \Yoast\WP\SEO\Conditionals\WooCommerce_Conditional())), ($this->services['WPSEO_Shortlinker'] ?? $this->getWPSEOShortlinkerService()), ($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\\Current_Page_Helper'] ?? $this->getCurrentPageHelperService()), ($this->services['Yoast\\WP\\SEO\\Promotions\\Application\\Promotion_Manager'] ?? $this->getPromotionManagerService()), ($this->services['WPSEO_Addon_Manager'] ?? $this->getWPSEOAddonManagerService()));
}