public function source($name = '') : SourceRepository
    {
        $name = $name ?: $this->getDefaultSourceRepository();

        return $this->sources[$name] = $this->get($name);
    }
public function source($name = '') : SourceRepository
    {
        $name = $name ?: $this->getDefaultSourceRepository();

        return $this->sources[$name] = $this->get($name);
    }
public function source ( $ name = '' ) : SourceRepository { $ name = $ name ? : $ this -> getDefaultSourceRepository ( ) ; return $ this -> sources [ $ name ] = $ this -> get ( $ name ) ; }
Get a source repository type instance.

@param string $name

@return SourceRepository
Get a source repository type instance .