Yoast\WP\SEO\Generated
Cached_Container::getPostHelperService() protected Yoast 1.0
Gets the public 'Yoast\WP\SEO\Helpers\Post_Helper' shared autowired service.
{} Это метод класса: Cached_Container{}
Хуков нет.
Возвращает
\Yoast\WP\SEO\Helpers\Post_Helper
. Null. Ничего.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->getPostHelperService();
Код Cached_Container::getPostHelperService() Cached Container::getPostHelperService Yoast 16.1.1
protected function getPostHelperService()
{
$this->services['Yoast\\WP\\SEO\\Helpers\\Post_Helper'] = $instance = new \Yoast\WP\SEO\Helpers\Post_Helper(${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\String_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\String_Helper'] : ($this->services['Yoast\\WP\\SEO\\Helpers\\String_Helper'] = new \Yoast\WP\SEO\Helpers\String_Helper())) && false ?: '_'});
$instance->set_indexable_repository(${($_ = isset($this->services['Yoast\\WP\\SEO\\Repositories\\Indexable_Repository']) ? $this->services['Yoast\\WP\\SEO\\Repositories\\Indexable_Repository'] : $this->getIndexableRepositoryService()) && false ?: '_'});
return $instance;
}