Yoast\WP\SEO\Generated

Cached_Container::getWpYoastPrimaryTermService()protectedYoast 1.0

Gets the public 'Yoast\WP\SEO\Config\Migrations\WpYoastPrimaryTerm' shared autowired service.

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\Config\Migrations\WpYoastPrimaryTerm.

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

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

Код Cached_Container::getWpYoastPrimaryTermService() Yoast 23.5

protected function getWpYoastPrimaryTermService()
{
    return $this->services['Yoast\\WP\\SEO\\Config\\Migrations\\WpYoastPrimaryTerm'] = new \Yoast\WP\SEO\Config\Migrations\WpYoastPrimaryTerm(${($_ = isset($this->services['Yoast\\WP\\Lib\\Migrations\\Adapter']) ? $this->services['Yoast\\WP\\Lib\\Migrations\\Adapter'] : ($this->services['Yoast\\WP\\Lib\\Migrations\\Adapter'] = new \Yoast\WP\Lib\Migrations\Adapter())) && false ?: '_'});
}