Backend\Database\Seeds\DatabaseSeeder

Source: ~/modules/backend/database/seeds/DatabaseSeeder.php

Extends:

Protected properties

There are no protected properties in the class.

Show inherited protected properties

Inherited protected properties

  • protected Illuminate\Container\Container $container - defined in Illuminate\Database\Seeder. The container instance.
  • protected Illuminate\Console\Command $command - defined in Illuminate\Database\Seeder. The console command instance.

Public methods

public void run()

Run the database seeds.

Show inherited public methods

Inherited public methods

  • public void __invoke() - defined in Illuminate\Database\Seeder. Run the database seeds.
  • public void call(array|string $class, bool $silent=false) - defined in Illuminate\Database\Seeder. Seed the given connection from the given path.
  • public void callSilent(array|string $class) - defined in Illuminate\Database\Seeder. Silently seed the given connection from the given path.
  • public $this setCommand(Illuminate\Console\Command $command) - defined in Illuminate\Database\Seeder. Set the console command instance.
  • public $this setContainer(Illuminate\Container\Container $container) - defined in Illuminate\Database\Seeder. Set the IoC container instance.

Protected methods

Show inherited protected methods

Inherited protected methods

  • protected Illuminate\Database\Seeder resolve(string $class) - defined in Illuminate\Database\Seeder. Resolve an instance of the given seeder class.