Retrieves a service from the container.
Use this method if the desired service is not one of those with a dedicated accessor method below. If it is listed below, those methods are preferred as they can return useful type hints.
string $id: The ID of the service to retrieve.
mixed The specified service.
public static function service($id) {
return static::$container
->get($id);
}