Yoast\WP\SEO\Generated

Cached_Container::getConsentEndpointsRepositoryServiceprotectedYoast 1.0

Gets the private 'Yoast\WP\SEO\AI\Consent\Application\Consent_Endpoints_Repository' shared autowired service.

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\AI\Consent\Application\Consent_Endpoints_Repository.

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

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

Код Cached_Container::getConsentEndpointsRepositoryService() Yoast 28.3

protected function getConsentEndpointsRepositoryService()
{
    return $this->privates['Yoast\\WP\\SEO\\AI\\Consent\\Application\\Consent_Endpoints_Repository'] = new \Yoast\WP\SEO\AI\Consent\Application\Consent_Endpoints_Repository(new \Yoast\WP\SEO\AI\Consent\Infrastructure\Endpoints\Consent_Endpoint());
}