Yoast\WP\SEO\Generated

Cached_Container::getAIEditorConditionalServiceprotectedYoast 1.0

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

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\Conditionals\AI_Editor_Conditional.

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

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

Код Cached_Container::getAIEditorConditionalService() Yoast 26.9

protected function getAIEditorConditionalService()
{
    return $this->services['Yoast\\WP\\SEO\\Conditionals\\AI_Editor_Conditional'] = new \Yoast\WP\SEO\Conditionals\AI_Editor_Conditional(($this->services['Yoast\\WP\\SEO\\Conditionals\\Admin\\Post_Conditional'] ?? ($this->services['Yoast\\WP\\SEO\\Conditionals\\Admin\\Post_Conditional'] = new \Yoast\WP\SEO\Conditionals\Admin\Post_Conditional())), ($this->services['Yoast\\WP\\SEO\\Helpers\\Current_Page_Helper'] ?? $this->getCurrentPageHelperService()), ($this->services['Yoast\\WP\\SEO\\Helpers\\Product_Helper'] ?? ($this->services['Yoast\\WP\\SEO\\Helpers\\Product_Helper'] = new \Yoast\WP\SEO\Helpers\Product_Helper())));
}