Yoast\WP\SEO\Generated

Cached_Container::getEnvironmentHelperService()protectedYoast 1.0

Gets the public 'Yoast\WP\SEO\Helpers\Environment_Helper' shared autowired service.

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\Helpers\Environment_Helper.

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

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

Код Cached_Container::getEnvironmentHelperService() Yoast 22.3

protected function getEnvironmentHelperService()
{
    return $this->services['Yoast\\WP\\SEO\\Helpers\\Environment_Helper'] = new \Yoast\WP\SEO\Helpers\Environment_Helper();
}