src/Colorium/Orm/Hub.php
public static function source(SourceInterface $source = null)
    {
        if($source) {
            static::$source = $source;
        }
        elseif(!isset(static::$source)) {
            throw new \LogicException('No source instance stored');
        }

        return static::$source;
    }
public static function source(SourceInterface $source = null)
    {
        if($source) {
            static::$source = $source;
        }
        elseif(!isset(static::$source)) {
            throw new \LogicException('No source instance stored');
        }

        return static::$source;
    }
Source accessor

@param SourceInterface $source
@return SourceInterface