Yoast\WP\SEO\Generated
Cached_Container::getAddonInstallActionService
Gets the public 'Yoast\WP\SEO\Actions\Addon_Installation\Addon_Install_Action' shared autowired service.
Метод класса: Cached_Container{}
Хуков нет.
Возвращает
\Yoast\WP\SEO\Actions\Addon_Installation\Addon_Install_Action.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->getAddonInstallActionService();
Код Cached_Container::getAddonInstallActionService() Cached Container::getAddonInstallActionService Yoast 26.9
protected function getAddonInstallActionService()
{
return $this->services['Yoast\\WP\\SEO\\Actions\\Addon_Installation\\Addon_Install_Action'] = new \Yoast\WP\SEO\Actions\Addon_Installation\Addon_Install_Action(($this->services['WPSEO_Addon_Manager'] ?? $this->getWPSEOAddonManagerService()), ($this->services['Yoast\\WP\\SEO\\Helpers\\Require_File_Helper'] ?? ($this->services['Yoast\\WP\\SEO\\Helpers\\Require_File_Helper'] = new \Yoast\WP\SEO\Helpers\Require_File_Helper())));
}