From e273e08f4c4d622e5dabd7d28ad68b101431fce8 Mon Sep 17 00:00:00 2001 From: Robby Date: Wed, 31 Jul 2024 10:07:00 -0400 Subject: [PATCH] Remove getService --- .../VuFind/src/VuFind/Controller/AbstractBase.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/module/VuFind/src/VuFind/Controller/AbstractBase.php b/module/VuFind/src/VuFind/Controller/AbstractBase.php index 935e2855a86..9d6958961d9 100644 --- a/module/VuFind/src/VuFind/Controller/AbstractBase.php +++ b/module/VuFind/src/VuFind/Controller/AbstractBase.php @@ -889,18 +889,4 @@ protected function isLocalUrl(string $url): bool $baseUrlNorm = $this->normalizeUrlForComparison($this->getServerUrl('home')); return str_starts_with($this->normalizeUrlForComparison($url), $baseUrlNorm); } - - /** - * Retrieve a service - * - * @param class-string $name Name of service to retrieve - * - * @template T - * - * @return T - */ - public function getService(string $name) - { - return $this->serviceLocator->get($name); - } }