Yoast\WP\SEO\Generated

Cached_Container::getAioseoValidateDataActionServiceprotectedYoast 1.0

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

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\Actions\Importing\Aioseo\Aioseo_Validate_Data_Action.

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

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

Код Cached_Container::getAioseoValidateDataActionService() Yoast 28.4

protected function getAioseoValidateDataActionService()
{
    $this->services['Yoast\\WP\\SEO\\Actions\\Importing\\Aioseo\\Aioseo_Validate_Data_Action'] = $instance = new \Yoast\WP\SEO\Actions\Importing\Aioseo\Aioseo_Validate_Data_Action(($this->services['wpdb'] ?? $this->getWpdbService()), ($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\\Actions\\Importing\\Aioseo\\Aioseo_Custom_Archive_Settings_Importing_Action'] ?? $this->getAioseoCustomArchiveSettingsImportingActionService()), ($this->services['Yoast\\WP\\SEO\\Actions\\Importing\\Aioseo\\Aioseo_Default_Archive_Settings_Importing_Action'] ?? $this->getAioseoDefaultArchiveSettingsImportingActionService()), ($this->services['Yoast\\WP\\SEO\\Actions\\Importing\\Aioseo\\Aioseo_General_Settings_Importing_Action'] ?? $this->getAioseoGeneralSettingsImportingActionService()), ($this->services['Yoast\\WP\\SEO\\Actions\\Importing\\Aioseo\\Aioseo_Posttype_Defaults_Settings_Importing_Action'] ?? $this->getAioseoPosttypeDefaultsSettingsImportingActionService()), ($this->services['Yoast\\WP\\SEO\\Actions\\Importing\\Aioseo\\Aioseo_Taxonomy_Settings_Importing_Action'] ?? $this->getAioseoTaxonomySettingsImportingActionService()), ($this->services['Yoast\\WP\\SEO\\Actions\\Importing\\Aioseo\\Aioseo_Posts_Importing_Action'] ?? $this->getAioseoPostsImportingActionService()));

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

    return $instance;
}