Yoast\WP\SEO\Generated

Cached_Container::getExpiringStoreServiceprotectedYoast 1.0

Gets the private 'Yoast\WP\SEO\Expiring_Store\Application\Expiring_Store' shared autowired service.

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

Хуков нет.

Возвращает

\Yoast\WP\SEO\Expiring_Store\Application\Expiring_Store.

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

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

Код Cached_Container::getExpiringStoreService() Yoast 28.3

protected function getExpiringStoreService()
{
    return $this->privates['Yoast\\WP\\SEO\\Expiring_Store\\Application\\Expiring_Store'] = new \Yoast\WP\SEO\Expiring_Store\Application\Expiring_Store(new \Yoast\WP\SEO\Expiring_Store\Infrastructure\WPDB_Expiring_Store_Repository(), ($this->services['Yoast\\WP\\SEO\\Helpers\\Date_Helper'] ?? ($this->services['Yoast\\WP\\SEO\\Helpers\\Date_Helper'] = new \Yoast\WP\SEO\Helpers\Date_Helper())));
}