Yoast\WP\SEO\Generated

Cached_Container::getRegisterPostTypeTasksIntegrationServiceprotectedYoast 1.0

Gets the public 'Yoast\WP\SEO\Task_List\Infrastructure\Register_Post_Type_Tasks_Integration' shared autowired service.

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\Task_List\Infrastructure\Register_Post_Type_Tasks_Integration.

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

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

Код Cached_Container::getRegisterPostTypeTasksIntegrationService() Yoast 26.9

protected function getRegisterPostTypeTasksIntegrationService()
{
    $this->services['Yoast\\WP\\SEO\\Task_List\\Infrastructure\\Register_Post_Type_Tasks_Integration'] = $instance = new \Yoast\WP\SEO\Task_List\Infrastructure\Register_Post_Type_Tasks_Integration(($this->privates['Yoast\\WP\\SEO\\Task_List\\Application\\Tasks\\Set_Search_Appearance_Templates'] ?? $this->getSetSearchAppearanceTemplatesService()));

    $instance->set_post_type_helper(($this->services['Yoast\\WP\\SEO\\Helpers\\Post_Type_Helper'] ?? $this->getPostTypeHelperService()));

    return $instance;
}