Yoast\WP\SEO\Generated

Cached_Container::getSchemaDisabledConditionalService │ protected │ Yoast 1.0

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

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\Conditionals\Schema_Disabled_Conditional.

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

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

Код Cached_Container::getSchemaDisabledConditionalService() Yoast 28.9

protected function getSchemaDisabledConditionalService()
{
    return $this->services['Yoast\\WP\\SEO\\Conditionals\\Schema_Disabled_Conditional'] = new \Yoast\WP\SEO\Conditionals\Schema_Disabled_Conditional(($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] ?? ($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] = new \Yoast\WP\SEO\Helpers\Options_Helper())));
}