Yoast\WP\SEO\Generated

Cached_Container::getCodeGeneratorService │ protected │ Yoast 1.0

Устарела с версии Since Yoast\WP\SEO\AI_Authorization\Infrastructure\Code_Generator 28.4: Yoast\WP\SEO\AI_Authorization\Infrastructure\Code_Generator is deprecated since version 28.4!. Больше не поддерживается и может быть удалена. Рекомендуется заменить эту функцию на аналог.

Gets the public 'Yoast\WP\SEO\AI_Authorization\Infrastructure\Code_Generator' shared autowired service.

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\AI_Authorization\Infrastructure\Code_Generator.

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

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

Список изменений

Устарела Since Yoast\WP\SEO\AI_Authorization\Infrastructure\Code_Generator 28.4: Yoast\WP\SEO\AI_Authorization\Infrastructure\Code_Generator is deprecated since version 28.4!

Код Cached_Container::getCodeGeneratorService() Yoast 28.9

protected function getCodeGeneratorService()
{
    trigger_deprecation('Yoast\\WP\\SEO\\AI_Authorization\\Infrastructure\\Code_Generator', '28.4', 'Yoast\\WP\\SEO\\AI_Authorization\\Infrastructure\\Code_Generator is deprecated since version 28.4!');

    return $this->services['Yoast\\WP\\SEO\\AI_Authorization\\Infrastructure\\Code_Generator'] = new \Yoast\WP\SEO\AI_Authorization\Infrastructure\Code_Generator();
}