UpCommand::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

UpCommand

UpCommand class UpCommand extends Command (View source) Methods void __construct() Create a new console command instance. from Command int run(InputInterface $input, OutputInterface $output) Run the console command. from Command int call(string $command, array $arguments = array()) Call another console command. from Command int callSilent(string $command, array $arguments = array()) Call another console command silently. from Command string|array argument(string $key = nul

UpCommand::askWithCompletion()

string askWithCompletion(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

UpCommand::ask()

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

UpCommand::argument()

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

Unique::__toString()

string __toString() Convert the rule to a validation string. Return Value string

Unique::whereNotNull()

$this whereNotNull(string $column) Set a "where not null" constraint on the query. Parameters string $column Return Value $this

Unique::whereNot()

$this whereNot(string $column, string $value) Set a "where not" constraint on the query. Parameters string $column string $value Return Value $this

Unique::where()

$this where(string $column, string $value = null) Set a "where" constraint on the query. Parameters string $column string $value Return Value $this

Unique::whereNull()

$this whereNull(string $column) Set a "where null" constraint on the query. Parameters string $column Return Value $this