Yoast\WP\SEO\Generated

Cached_Container::getYoastAdminAndDashboardConditionalService()protectedYoast 1.0

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

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\Conditionals\Yoast_Admin_And_Dashboard_Conditional.

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

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

Код Cached_Container::getYoastAdminAndDashboardConditionalService() Yoast 25.0

protected function getYoastAdminAndDashboardConditionalService()
{
    return $this->services['Yoast\\WP\\SEO\\Conditionals\\Yoast_Admin_And_Dashboard_Conditional'] = new \Yoast\WP\SEO\Conditionals\Yoast_Admin_And_Dashboard_Conditional();
}