17 $this->setName(
'database:seeders')
18 ->setDescription(
elgg_echo(
'cli:database:seeders:description'));
25 $table =
new Table($this->output);
28 elgg_echo(
'cli:database:seeders:handler'),
36 foreach ($seeders as $seeder) {
38 $seed =
new $seeder();
elgg_call(int $flags, Closure $closure)
Calls a callable autowiring the arguments using public DI services and applying logic based on flags...
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
elgg-cli database:seeders
const ELGG_IGNORE_ACCESS
elgg_call() flags
const ELGG_SHOW_DISABLED_ENTITIES
Abstract command with some utility methods.
_elgg_services()
Get the global service provider.