Yoast\WP\SEO\Generated

Cached_Container::getBustSubscriptionCacheRoute2Service │ protected │ Yoast 1.0

Устарела. Больше не поддерживается и может быть удалена. Используйте r_Interface\Bust_Subscription_Cache_Route 28.4: Yoast\WP\SEO\AI_Generator\User_Interface\Bust_Subscription_Cache_Route is deprecated since version 28.4!.

Gets the public 'Yoast\WP\SEO\AI_Generator\User_Interface\Bust_Subscription_Cache_Route' shared autowired service.

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\AI_Generator\User_Interface\Bust_Subscription_Cache_Route.

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

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

Список изменений

Устарела Since Yoast\WP\SEO\AI_Generator\User_Interface\Bust_Subscription_Cache_Route 28.4: Yoast\WP\SEO\AI_Generator\User_Interface\Bust_Subscription_Cache_Route is deprecated since version 28.4!

Код Cached_Container::getBustSubscriptionCacheRoute2Service() Yoast 28.9

protected function getBustSubscriptionCacheRoute2Service()
{
    trigger_deprecation('Yoast\\WP\\SEO\\AI_Generator\\User_Interface\\Bust_Subscription_Cache_Route', '28.4', 'Yoast\\WP\\SEO\\AI_Generator\\User_Interface\\Bust_Subscription_Cache_Route is deprecated since version 28.4!');

    return $this->services['Yoast\\WP\\SEO\\AI_Generator\\User_Interface\\Bust_Subscription_Cache_Route'] = new \Yoast\WP\SEO\AI_Generator\User_Interface\Bust_Subscription_Cache_Route(($this->services['WPSEO_Addon_Manager'] ?? $this->getWPSEOAddonManagerService()));
}