Yoast\WP\SEO\Generated

Cached_Container::getExcludeAttachmentPostTypeService()protectedYoast 1.0

Gets the public 'Yoast\WP\SEO\Integrations\Exclude_Attachment_Post_Type' shared autowired service.

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\Integrations\Exclude_Attachment_Post_Type.

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

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

Код Cached_Container::getExcludeAttachmentPostTypeService() Yoast 25.1

protected function getExcludeAttachmentPostTypeService()
{
    return $this->services['Yoast\\WP\\SEO\\Integrations\\Exclude_Attachment_Post_Type'] = new \Yoast\WP\SEO\Integrations\Exclude_Attachment_Post_Type();
}