Yoast\WP\SEO\Generated

Cached_Container::getContentTypeVisibilityDismissNotificationsServiceprotectedYoast 1.0

Gets the private 'Yoast\WP\SEO\Content_Type_Visibility\Application\Content_Type_Visibility_Dismiss_Notifications' shared autowired service.

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\Content_Type_Visibility\Application\Content_Type_Visibility_Dismiss_Notifications.

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

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

Код Cached_Container::getContentTypeVisibilityDismissNotificationsService() Yoast 28.0

protected function getContentTypeVisibilityDismissNotificationsService()
{
    return $this->privates['Yoast\\WP\\SEO\\Content_Type_Visibility\\Application\\Content_Type_Visibility_Dismiss_Notifications'] = new \Yoast\WP\SEO\Content_Type_Visibility\Application\Content_Type_Visibility_Dismiss_Notifications(($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] ?? ($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] = new \Yoast\WP\SEO\Helpers\Options_Helper())));
}