Yoast\WP\SEO\Generated

Cached_Container::getSchemaGeneratorService()protectedYoast 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 23.5

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