Yoast\WP\SEO\Generated
Cached_Container::getScoresRouteService
Gets the public 'Yoast\WP\SEO\Bulk_Editor\User_Interface\Scores_Route' shared autowired service.
Метод класса: Cached_Container{}
Хуков нет.
Возвращает
\Yoast\WP\SEO\Bulk_Editor\User_Interface\Scores_Route.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->getScoresRouteService();
Код Cached_Container::getScoresRouteService() Cached Container::getScoresRouteService Yoast 28.9
protected function getScoresRouteService()
{
$a = new \Yoast\WP\SEO\Bulk_Editor\Application\Updates\Score_Updater(($this->privates['Yoast\\WP\\SEO\\Bulk_Editor\\Infrastructure\\Updates\\Post_Access_Checker'] ?? $this->getPostAccessCheckerService()), ($this->privates['Yoast\\WP\\SEO\\Bulk_Editor\\Infrastructure\\Updates\\Meta_Writer'] ?? $this->getMetaWriterService()));
$a->setLogger(($this->services['Yoast\\WP\\SEO\\Loggers\\Logger'] ?? ($this->services['Yoast\\WP\\SEO\\Loggers\\Logger'] = new \Yoast\WP\SEO\Loggers\Logger())));
return $this->services['Yoast\\WP\\SEO\\Bulk_Editor\\User_Interface\\Scores_Route'] = new \Yoast\WP\SEO\Bulk_Editor\User_Interface\Scores_Route($a);
}