Yoast\WP\SEO\Generated

Cached_Container::getRobotsTxtConditionalService()protectedYoast 1.0

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

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\Conditionals\Robots_Txt_Conditional.

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

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

Код Cached_Container::getRobotsTxtConditionalService() Yoast 19.7.1

protected function getRobotsTxtConditionalService()
{
    return $this->services['Yoast\\WP\\SEO\\Conditionals\\Robots_Txt_Conditional'] = new \Yoast\WP\SEO\Conditionals\Robots_Txt_Conditional(${($_ = isset($this->services['Yoast\\WP\\SEO\\Conditionals\\Front_End_Conditional']) ? $this->services['Yoast\\WP\\SEO\\Conditionals\\Front_End_Conditional'] : ($this->services['Yoast\\WP\\SEO\\Conditionals\\Front_End_Conditional'] = new \Yoast\WP\SEO\Conditionals\Front_End_Conditional())) && false ?: '_'});
}