Yoast\WP\SEO\Generated
Cached_Container::getAddIndexableObjectIdAndTypeIndexService
Gets the public 'Yoast\WP\SEO\Config\Migrations\AddIndexableObjectIdAndTypeIndex' shared autowired service.
Метод класса: Cached_Container{}
Хуков нет.
Возвращает
\Yoast\WP\SEO\Config\Migrations\AddIndexableObjectIdAndTypeIndex.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->getAddIndexableObjectIdAndTypeIndexService();
Код Cached_Container::getAddIndexableObjectIdAndTypeIndexService() Cached Container::getAddIndexableObjectIdAndTypeIndexService Yoast 28.2
protected function getAddIndexableObjectIdAndTypeIndexService()
{
return $this->services['Yoast\\WP\\SEO\\Config\\Migrations\\AddIndexableObjectIdAndTypeIndex'] = new \Yoast\WP\SEO\Config\Migrations\AddIndexableObjectIdAndTypeIndex(($this->services['Yoast\\WP\\Lib\\Migrations\\Adapter'] ?? ($this->services['Yoast\\WP\\Lib\\Migrations\\Adapter'] = new \Yoast\WP\Lib\Migrations\Adapter())));
}