Yoast\WP\SEO\Generated

Cached_Container::getAddHasAncestorsColumnServiceprotectedYoast 1.0

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

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\Config\Migrations\AddHasAncestorsColumn.

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

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

Код Cached_Container::getAddHasAncestorsColumnService() Yoast 27.6

protected function getAddHasAncestorsColumnService()
{
    return $this->services['Yoast\\WP\\SEO\\Config\\Migrations\\AddHasAncestorsColumn'] = new \Yoast\WP\SEO\Config\Migrations\AddHasAncestorsColumn(($this->services['Yoast\\WP\\Lib\\Migrations\\Adapter'] ?? ($this->services['Yoast\\WP\\Lib\\Migrations\\Adapter'] = new \Yoast\WP\Lib\Migrations\Adapter())));
}