Yoast\WP\SEO\Generated

Cached_Container::getFrontEndConditionalService()protectedYoast 1.0

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

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\Conditionals\Front_End_Conditional.

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

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

Код Cached_Container::getFrontEndConditionalService() Yoast 22.4

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