src/Pagic/Source/SourceResolver.php
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