Yoast\WP\SEO\Generated

Cached_Container::getSchemaGeneratorService │ protected │ Yoast 1.0

Gets the public 'Yoast\WP\SEO\Generators\Schema_Generator' shared autowired service.

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\Generators\Schema_Generator.

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

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

Код Cached_Container::getSchemaGeneratorService() Yoast 28.7

protected function getSchemaGeneratorService()
{
    return $this->services['Yoast\\WP\\SEO\\Generators\\Schema_Generator'] = new \Yoast\WP\SEO\Generators\Schema_Generator(($this->services['Yoast\\WP\\SEO\\Surfaces\\Helpers_Surface'] ?? $this->getHelpersSurfaceService()), ($this->services['Yoast\\WP\\SEO\\Helpers\\Schema\\Replace_Vars_Helper'] ?? $this->getReplaceVarsHelperService()));
}