Yoast\WP\SEO\Generated
Cached_Container::getMyYoastClientIntegrationService
Gets the public 'Yoast\WP\SEO\MyYoast_Client\User_Interface\MyYoast_Client_Integration' shared autowired service.
Метод класса: Cached_Container{}
Хуков нет.
Возвращает
\Yoast\WP\SEO\MyYoast_Client\User_Interface\MyYoast_Client_Integration.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->getMyYoastClientIntegrationService();
Код Cached_Container::getMyYoastClientIntegrationService() Cached Container::getMyYoastClientIntegrationService Yoast 28.9
protected function getMyYoastClientIntegrationService()
{
$this->services['Yoast\\WP\\SEO\\MyYoast_Client\\User_Interface\\MyYoast_Client_Integration'] = $instance = new \Yoast\WP\SEO\MyYoast_Client\User_Interface\MyYoast_Client_Integration(($this->privates['Yoast\\WP\\SEO\\MyYoast_Client\\Infrastructure\\Registration\\Client_Registration'] ?? $this->getClientRegistrationService()));
$instance->setLogger(($this->services['Yoast\\WP\\SEO\\Loggers\\Logger'] ?? ($this->services['Yoast\\WP\\SEO\\Loggers\\Logger'] = new \Yoast\WP\SEO\Loggers\Logger())));
return $instance;
}