protected function initSources(array $sources)
    {
        foreach ($sources as $source) {
            $this->sources[] = new EntitySource($this, $source);
        }
    }
protected function initSources(array $sources)
    {
        foreach ($sources as $source) {
            $this->sources[] = new EntitySource($this, $source);
        }
    }
protected function initSources ( array $ sources ) { foreach ( $ sources as $ source ) { $ this -> sources [ ] = new EntitySource ( $ this , $ source ) ; } }
Populate the sources array.

This is called from the constructor, and can be overridden in subclasses.

@param array $sources  The sources as an array of \SimpleSAML\Configuration objects.
@return void
Populate the sources array .