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 27.4
protected function getContentTypesCollectorService()
{
return $this->privates['Yoast\\WP\\SEO\\Dashboard\\Infrastructure\\Content_Types\\Content_Types_Collector'] = new \Yoast\WP\SEO\Dashboard\Infrastructure\Content_Types\Content_Types_Collector(($this->services['Yoast\\WP\\SEO\\Helpers\\Post_Type_Helper'] ?? $this->getPostTypeHelperService()));
}