public function source($name = null)
    {
        if (is_null($name)) {
            $name = $this->getDefaultSourceName();
        }

        return $this->sources[$name];
    }
public function source($name = null)
    {
        if (is_null($name)) {
            $name = $this->getDefaultSourceName();
        }

        return $this->sources[$name];
    }
public function source ( $ name = null ) { if ( is_null ( $ name ) ) { $ name = $ this -> getDefaultSourceName ( ) ; } return $ this -> sources [ $ name ] ; }
Get a source instance.

@param  string $name

@return \Igniter\Flame\Pagic\Source\SourceInterface
Get a source instance .