Yoast\WP\SEO\Generated
Cached_Container::getCurrentScoresRepositoryService()
Gets the private 'Yoast\WP\SEO\Dashboard\Application\Score_Results\Current_Scores_Repository' shared autowired service.
Метод класса: Cached_Container{}
Хуков нет.
Возвращает
\Yoast\WP\SEO\Dashboard\Application\Score_Results\Current_Scores_Repository
.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->getCurrentScoresRepositoryService();
Код Cached_Container::getCurrentScoresRepositoryService() Cached Container::getCurrentScoresRepositoryService Yoast 25.1
protected function getCurrentScoresRepositoryService() { return $this->services['Yoast\\WP\\SEO\\Dashboard\\Application\\Score_Results\\Current_Scores_Repository'] = new \Yoast\WP\SEO\Dashboard\Application\Score_Results\Current_Scores_Repository(new \Yoast\WP\SEO\Dashboard\Infrastructure\Score_Groups\Score_Group_Link_Collector()); }