public function getSourceByName($sourceName)
    {
        if (isset($this->sources[$sourceName])) {
            return $this->sources[$sourceName];
        }
        return null;
    }
public function getSourceByName($sourceName)
    {
        if (isset($this->sources[$sourceName])) {
            return $this->sources[$sourceName];
        }
        return null;
    }
public function getSourceByName ( $ sourceName ) { if ( isset ( $ this -> sources [ $ sourceName ] ) ) { return $ this -> sources [ $ sourceName ] ; } return null ; }
Returns the Source object for the given source name

@param string $sourceName the source name

@return null|SourceInterface
Returns the Source object for the given source name