Yoast\WP\SEO\Generated

Cached_Container::getAlertDismissalActionService()protectedYoast 1.0

Gets the public 'Yoast\WP\SEO\Actions\Alert_Dismissal_Action' shared autowired service.

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\Actions\Alert_Dismissal_Action.

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

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

Код Cached_Container::getAlertDismissalActionService() Yoast 22.4

protected function getAlertDismissalActionService()
{
    return $this->services['Yoast\\WP\\SEO\\Actions\\Alert_Dismissal_Action'] = new \Yoast\WP\SEO\Actions\Alert_Dismissal_Action(${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\User_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\User_Helper'] : ($this->services['Yoast\\WP\\SEO\\Helpers\\User_Helper'] = new \Yoast\WP\SEO\Helpers\User_Helper())) && false ?: '_'});
}