src/Charcoal/Source/StorableTrait.php
protected function sourceFactory()
    {
        if (!isset($this->sourceFactory)) {
            throw new RuntimeException(
                sprintf('Source factory is not set for "%s"', get_class($this))
            );
        }
        return $this->sourceFactory;
    }
protected function sourceFactory()
    {
        if (!isset($this->sourceFactory)) {
            throw new RuntimeException(
                sprintf('Source factory is not set for "%s"', get_class($this))
            );
        }
        return $this->sourceFactory;
    }
protected function sourceFactory ( ) { if ( ! isset ( $ this -> sourceFactory ) ) { throw new RuntimeException ( sprintf ( 'Source factory is not set for "%s"' , get_class ( $ this ) ) ) ; } return $ this -> sourceFactory ; }
Get the datasource repository factory.

@throws RuntimeException If the source factory was not previously set.
@return FactoryInterface
Get the datasource repository factory .