|
|
@ -93,10 +93,10 @@ class RepositoryFactory
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (!$config) {
|
|
|
|
if (!$config) {
|
|
|
|
$config = Factory::createConfig($io);
|
|
|
|
$config = Factory::createConfig($io);
|
|
|
|
|
|
|
|
}
|
|
|
|
if ($io) {
|
|
|
|
if ($io) {
|
|
|
|
$io->loadConfiguration($config);
|
|
|
|
$io->loadConfiguration($config);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (!$rm) {
|
|
|
|
if (!$rm) {
|
|
|
|
if (!$io) {
|
|
|
|
if (!$io) {
|
|
|
|
throw new \InvalidArgumentException('This function requires either an IOInterface or a RepositoryManager');
|
|
|
|
throw new \InvalidArgumentException('This function requires either an IOInterface or a RepositoryManager');
|
|
|
|