Yoast\WP\SEO\Generated

Cached_Container::getWPRewriteWrapperService()protectedYoast 1.0

Gets the public 'Yoast\WP\SEO\Wrappers\WP_Rewrite_Wrapper' shared autowired service.

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\Wrappers\WP_Rewrite_Wrapper.

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

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

Код Cached_Container::getWPRewriteWrapperService() Yoast 22.3

protected function getWPRewriteWrapperService()
{
    return $this->services['Yoast\\WP\\SEO\\Wrappers\\WP_Rewrite_Wrapper'] = new \Yoast\WP\SEO\Wrappers\WP_Rewrite_Wrapper();
}