original_string: public static function getAllProviders()
      {
          if (is_null(self::$providers)) {
              self::$providers = array();
              $plugins   = PluginManager::getInstance()->getPluginsLoadedAndActivated();
              foreach ($plugins as $plugin) {
                  foreach (self::getLocationProviders($plugin) as $instance) {
                      self::$providers[] = $instance;
                  }
              }
          }
  
          return self::$providers;
      }
code: public static function getAllProviders()
      {
          if (is_null(self::$providers)) {
              self::$providers = array();
              $plugins   = PluginManager::getInstance()->getPluginsLoadedAndActivated();
              foreach ($plugins as $plugin) {
                  foreach (self::getLocationProviders($plugin) as $instance) {
                      self::$providers[] = $instance;
                  }
              }
          }
  
          return self::$providers;
      }
code_tokens: public static function getAllProviders ( ) { if ( is_null ( self :: $ providers ) ) { self :: $ providers = array ( ) ; $ plugins = PluginManager :: getInstance ( ) -> getPluginsLoadedAndActivated ( ) ; foreach ( $ plugins as $ plugin ) { foreach ( self :: getLocationProviders ( $ plugin ) as $ instance ) { self :: $ providers [ ] = $ instance ; } } } return self :: $ providers ; }
docstring: Returns every available provider instance.
  
  @return LocationProvider[]
docstring_tokens: Returns every available provider instance .