Yoast\WP\SEO\Generated

Cached_Container::getSchemaAggregatorConditionalService │ protected │ Yoast 1.0

Gets the public 'Yoast\WP\SEO\Schema_Aggregator\Infrastructure\Schema_Aggregator_Conditional' shared autowired service.

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\Schema_Aggregator\Infrastructure\Schema_Aggregator_Conditional.

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

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

Код Cached_Container::getSchemaAggregatorConditionalService() Yoast 28.9

protected function getSchemaAggregatorConditionalService()
{
    return $this->services['Yoast\\WP\\SEO\\Schema_Aggregator\\Infrastructure\\Schema_Aggregator_Conditional'] = new \Yoast\WP\SEO\Schema_Aggregator\Infrastructure\Schema_Aggregator_Conditional(($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] ?? ($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] = new \Yoast\WP\SEO\Helpers\Options_Helper())));
}