Yoast\WP\SEO\Generated

Cached_Container::getIndexableAttachmentWatcherServiceprotectedYoast 1.0

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

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\Integrations\Watchers\Indexable_Attachment_Watcher.

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

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

Код Cached_Container::getIndexableAttachmentWatcherService() Yoast 27.6

protected function getIndexableAttachmentWatcherService()
{
    return $this->services['Yoast\\WP\\SEO\\Integrations\\Watchers\\Indexable_Attachment_Watcher'] = new \Yoast\WP\SEO\Integrations\Watchers\Indexable_Attachment_Watcher(($this->services['Yoast\\WP\\SEO\\Helpers\\Indexing_Helper'] ?? $this->getIndexingHelperService()), ($this->services['Yoast\\WP\\SEO\\Helpers\\Attachment_Cleanup_Helper'] ?? ($this->services['Yoast\\WP\\SEO\\Helpers\\Attachment_Cleanup_Helper'] = new \Yoast\WP\SEO\Helpers\Attachment_Cleanup_Helper())), ($this->services['Yoast_Notification_Center'] ?? $this->getYoastNotificationCenterService()), ($this->services['Yoast\\WP\\SEO\\Helpers\\Indexable_Helper'] ?? $this->getIndexableHelperService()));
}