Yoast\WP\SEO\Generated

Cached_Container::getStructuredDataBlocksService()protectedYoast 1.0

Gets the public 'Yoast\WP\SEO\Integrations\Blocks\Structured_Data_Blocks' shared autowired service.

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\Integrations\Blocks\Structured_Data_Blocks.

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

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

Код Cached_Container::getStructuredDataBlocksService() Yoast 19.10

protected function getStructuredDataBlocksService()
{
    return $this->services['Yoast\\WP\\SEO\\Integrations\\Blocks\\Structured_Data_Blocks'] = new \Yoast\WP\SEO\Integrations\Blocks\Structured_Data_Blocks(${($_ = isset($this->services['WPSEO_Admin_Asset_Manager']) ? $this->services['WPSEO_Admin_Asset_Manager'] : $this->getWPSEOAdminAssetManagerService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Image_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Image_Helper'] : $this->getImageHelperService()) && false ?: '_'});
}