Yoast\WP\SEO\Generated
Cached_Container::getContentTypesCollectorService()
Gets the private 'Yoast\WP\SEO\Dashboard\Infrastructure\Content_Types\Content_Types_Collector' shared autowired service.
Метод класса: Cached_Container{}
Хуков нет.
Возвращает
\Yoast\WP\SEO\Dashboard\Infrastructure\Content_Types\Content_Types_Collector
.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->getContentTypesCollectorService();
Код Cached_Container::getContentTypesCollectorService() Cached Container::getContentTypesCollectorService Yoast 25.1
protected function getContentTypesCollectorService() { return $this->services['Yoast\\WP\\SEO\\Dashboard\\Infrastructure\\Content_Types\\Content_Types_Collector'] = new \Yoast\WP\SEO\Dashboard\Infrastructure\Content_Types\Content_Types_Collector(${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Post_Type_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Post_Type_Helper'] : $this->getPostTypeHelperService()) && false ?: '_'}); }