Skip to content

Commit

Permalink
Remove getService
Browse files Browse the repository at this point in the history
  • Loading branch information
rominail committed Jul 31, 2024
1 parent 3fbf094 commit e273e08
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions module/VuFind/src/VuFind/Controller/AbstractBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -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<T> $name Name of service to retrieve
*
* @template T
*
* @return T
*/
public function getService(string $name)
{
return $this->serviceLocator->get($name);
}
}

0 comments on commit e273e08

Please sign in to comment.