public static function getSource($name)
  {
    foreach (self::getSources() as $source) {
      if ($source->getName() == $name) {
        return $source;
      }
    }
    throw new \Exception("ProfileSource not found: $name.");
  }
public static function getSource($name)
  {
    foreach (self::getSources() as $source) {
      if ($source->getName() == $name) {
        return $source;
      }
    }
    throw new \Exception("ProfileSource not found: $name.");
  }
public static function getSource ( $ name ) { foreach ( self :: getSources ( ) as $ source ) { if ( $ source -> getName ( ) == $ name ) { return $ source ; } } throw new \ Exception ( "ProfileSource not found: $name." ) ; }
Load a single source.
Load a single source .