class Factory (View source)

Properties

protected $config

Methods

__construct(Repository $configRepository)

No description

createEntity(Site $site = null)

Either creates a completely new entity, or ensures that the passed entity has all the items it needs to function (e.g. a config repository)

createDefaultEntity()

No description

Details

__construct(Repository $configRepository)

No description

Parameters

Repository $configRepository

createEntity(Site $site = null)

Either creates a completely new entity, or ensures that the passed entity has all the items it needs to function (e.g. a config repository)

Parameters

Site $site

createDefaultEntity()

No description