Yoast\WP\SEO\Generated

Cached_Container::getAioseoCleanupActionService()protectedYoast 1.0

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

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

Хуков нет.

Возвращает

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

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

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

Код Cached_Container::getAioseoCleanupActionService() Yoast 19.7.1

protected function getAioseoCleanupActionService()
{
    $this->services['Yoast\\WP\\SEO\\Actions\\Importing\\Aioseo\\Aioseo_Cleanup_Action'] = $instance = new \Yoast\WP\SEO\Actions\Importing\Aioseo\Aioseo_Cleanup_Action(${($_ = isset($this->services['wpdb']) ? $this->services['wpdb'] : $this->getWpdbService()) && false ?: '_'}, ${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] : ($this->services['Yoast\\WP\\SEO\\Helpers\\Options_Helper'] = new \Yoast\WP\SEO\Helpers\Options_Helper())) && false ?: '_'});

    $instance->set_aioseo_helper(${($_ = isset($this->services['Yoast\\WP\\SEO\\Helpers\\Aioseo_Helper']) ? $this->services['Yoast\\WP\\SEO\\Helpers\\Aioseo_Helper'] : $this->getAioseoHelperService()) && false ?: '_'});

    return $instance;
}