Yoast\WP\SEO\Generated

Cached_Container::getYoastAdminConditionalService()protectedYoast 1.0

Gets the public 'Yoast\WP\SEO\Conditionals\Admin\Yoast_Admin_Conditional' shared autowired service.

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\Conditionals\Admin\Yoast_Admin_Conditional.

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

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

Код Cached_Container::getYoastAdminConditionalService() Yoast 25.1

protected function getYoastAdminConditionalService()
{
    return $this->services['Yoast\\WP\\SEO\\Conditionals\\Admin\\Yoast_Admin_Conditional'] = new \Yoast\WP\SEO\Conditionals\Admin\Yoast_Admin_Conditional(${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Current_Page_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Current_Page_Helper'] : $this->getCurrentPageHelperService()) && false ?: '_'});
}