Yoast\WP\SEO\Generated

Cached_Container::getSEOLinksRepositoryService()protectedYoast 1.0

Gets the public 'Yoast\WP\SEO\Repositories\SEO_Links_Repository' shared autowired service.

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\Repositories\SEO_Links_Repository.

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

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

Код Cached_Container::getSEOLinksRepositoryService() Yoast 22.4

protected function getSEOLinksRepositoryService()
{
    return $this->services['Yoast\\WP\\SEO\\Repositories\\SEO_Links_Repository'] = new \Yoast\WP\SEO\Repositories\SEO_Links_Repository();
}