original_string: protected static function getLocationProviders(Plugin $plugin)
      {
          $locationProviders = $plugin->findMultipleComponents('LocationProvider', 'Piwik\\Plugins\\UserCountry\\LocationProvider');
          $instances  = [];
  
          foreach ($locationProviders as $locationProvider) {
              $instances[] = new $locationProvider();
          }
  
          return $instances;
      }
code: protected static function getLocationProviders(Plugin $plugin)
      {
          $locationProviders = $plugin->findMultipleComponents('LocationProvider', 'Piwik\\Plugins\\UserCountry\\LocationProvider');
          $instances  = [];
  
          foreach ($locationProviders as $locationProvider) {
              $instances[] = new $locationProvider();
          }
  
          return $instances;
      }
code_tokens: protected static function getLocationProviders ( Plugin $ plugin ) { $ locationProviders = $ plugin -> findMultipleComponents ( 'LocationProvider' , 'Piwik\\Plugins\\UserCountry\\LocationProvider' ) ; $ instances = [ ] ; foreach ( $ locationProviders as $ locationProvider ) { $ instances [ ] = new $ locationProvider ( ) ; } return $ instances ; }
docstring: Get all lo that are defined by the given plugin.
  
  @param Plugin $plugin
  @return LocationProvider[]
docstring_tokens: Get all lo that are defined by the given plugin .