SeedCommand::ask()

string ask(string $question, string $default = null) Prompt the user for input. Parameters string $question string $default Return Value string

SeedCommand::argument()

string|array argument(string $key = null) Get the value of a command argument. Parameters string $key Return Value string|array

SeedCommand::argument()

string|array argument(string $key = null) Get the value of a command argument. Parameters string $key Return Value string|array

SeedCommand::anticipate()

string anticipate(string $question, array $choices, string $default = null) Prompt the user for input with auto completion. Parameters string $question array $choices string $default Return Value string

SeedCommand

SeedCommand class SeedCommand extends Command (View source) Traits ConfirmableTrait

SeedCommand

SeedCommand class SeedCommand extends Command (View source) Traits ConfirmableTrait

ScopeInterface deprecated::apply()

void apply(Builder $builder, Model $model) Apply the scope to a given Eloquent query builder. Parameters Builder $builder Model $model Return Value void

ScopeInterface deprecated

ScopeInterface deprecated interface ScopeInterface implements Scope (View source) deprecated since version 5.2. Use Illuminate\Database\Eloquent\Scope. Methods void apply(Builder $builder, Model $model) Apply the scope to a given Eloquent query builder. from Scope

Scope::apply()

void apply(Builder $builder, Model $model) Apply the scope to a given Eloquent query builder. Parameters Builder $builder Model $model Return Value void

Scope

Scope interface Scope (View source) Methods void apply(Builder $builder, Model $model) Apply the scope to a given Eloquent query builder.