class RepositoryFactory (View source)

Methods

static array|mixed
configFromString(IOInterface $io, Config $config, string $repository, bool $allowFilesystem = false)

No description

fromString(IOInterface $io, Config $config, string $repository, bool $allowFilesystem = false)

No description

createRepo(IOInterface $io, Config $config, array $repoConfig)

No description

defaultRepos(IOInterface $io = null, Config $config = null, RepositoryManager $rm = null)

No description

manager(IOInterface $io, Config $config, EventDispatcher $eventDispatcher = null, RemoteFilesystem $rfs = null)

No description

Details

static array|mixed configFromString(IOInterface $io, Config $config, string $repository, bool $allowFilesystem = false)

Parameters

IOInterface $io
Config $config
string $repository
bool $allowFilesystem

Return Value

array|mixed

static RepositoryInterface fromString(IOInterface $io, Config $config, string $repository, bool $allowFilesystem = false)

Parameters

IOInterface $io
Config $config
string $repository
bool $allowFilesystem

Return Value

RepositoryInterface

static RepositoryInterface createRepo(IOInterface $io, Config $config, array $repoConfig)

Parameters

IOInterface $io
Config $config
array $repoConfig

Return Value

RepositoryInterface

static RepositoryInterface[] defaultRepos(IOInterface $io = null, Config $config = null, RepositoryManager $rm = null)

Parameters

IOInterface $io
Config $config
RepositoryManager $rm

Return Value

RepositoryInterface[]

static RepositoryManager manager(IOInterface $io, Config $config, EventDispatcher $eventDispatcher = null, RemoteFilesystem $rfs = null)

Parameters

IOInterface $io
Config $config
EventDispatcher $eventDispatcher
RemoteFilesystem $rfs

Return Value

RepositoryManager