Yoast\WP\SEO\Generated

Cached_Container::getDeactivateConflictingPluginsActionServiceprotectedYoast 1.0

Gets the public 'Yoast\WP\SEO\Actions\Importing\Deactivate_Conflicting_Plugins_Action' shared autowired service.

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\Actions\Importing\Deactivate_Conflicting_Plugins_Action.

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

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

Код Cached_Container::getDeactivateConflictingPluginsActionService() Yoast 27.8

protected function getDeactivateConflictingPluginsActionService()
{
    $this->services['Yoast\\WP\\SEO\\Actions\\Importing\\Deactivate_Conflicting_Plugins_Action'] = $instance = new \Yoast\WP\SEO\Actions\Importing\Deactivate_Conflicting_Plugins_Action(($this->services['Yoast\\WP\\SEO\\Helpers\\Import_Cursor_Helper'] ?? $this->getImportCursorHelperService()), ($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] ?? ($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] = new \Yoast\WP\SEO\Helpers\Options_Helper())), ($this->services['Yoast\\WP\\SEO\\Helpers\\Sanitization_Helper'] ?? ($this->services['Yoast\\WP\\SEO\\Helpers\\Sanitization_Helper'] = new \Yoast\WP\SEO\Helpers\Sanitization_Helper())), ($this->services['Yoast\\WP\\SEO\\Services\\Importing\\Aioseo\\Aioseo_Replacevar_Service'] ?? ($this->services['Yoast\\WP\\SEO\\Services\\Importing\\Aioseo\\Aioseo_Replacevar_Service'] = new \Yoast\WP\SEO\Services\Importing\Aioseo\Aioseo_Replacevar_Service())), ($this->services['Yoast\\WP\\SEO\\Services\\Importing\\Aioseo\\Aioseo_Robots_Provider_Service'] ?? $this->getAioseoRobotsProviderServiceService()), ($this->services['Yoast\\WP\\SEO\\Services\\Importing\\Aioseo\\Aioseo_Robots_Transformer_Service'] ?? $this->getAioseoRobotsTransformerServiceService()), ($this->services['Yoast\\WP\\SEO\\Services\\Importing\\Conflicting_Plugins_Service'] ?? ($this->services['Yoast\\WP\\SEO\\Services\\Importing\\Conflicting_Plugins_Service'] = new \Yoast\WP\SEO\Services\Importing\Conflicting_Plugins_Service())));

    $instance->set_aioseo_helper(($this->services['Yoast\\WP\\SEO\\Helpers\\Aioseo_Helper'] ?? $this->getAioseoHelperService()));

    return $instance;
}