trait Seeding

Methods

loadSeed(string $instance_id, string[] $seeds = ["base"], int $group_id = 0, string|null $templateModule = null)

Starts the seeding of the passed instance with the passed seed (if existing)

prepareInstallation()

No description

resetInstallation($delete_xelos_installation = false)

No description

bool
runSeedScript(string $seed_script, bool $additional_default_seeds = false, bool $ignoreCache = false, string|null $templateModule = null)

Runs a Seed Script YML which contains a seeding plan The scripts must be available in the system's setup/seeds/ folder

Details

at line 262
loadSeed(string $instance_id, string[] $seeds = ["base"], int $group_id = 0, string|null $templateModule = null)

Starts the seeding of the passed instance with the passed seed (if existing)

Parameters

string $instance_id
string[] $seeds
int $group_id
string|null $templateModule

at line 22
prepareInstallation()

No description

at line 10
resetInstallation($delete_xelos_installation = false)

No description

Parameters

$delete_xelos_installation

at line 40
bool runSeedScript(string $seed_script, bool $additional_default_seeds = false, bool $ignoreCache = false, string|null $templateModule = null)

Runs a Seed Script YML which contains a seeding plan The scripts must be available in the system's setup/seeds/ folder

Parameters

string $seed_script

Name of the seed script e.g. base or performance

bool $additional_default_seeds
bool $ignoreCache
string|null $templateModule

Return Value

bool