string setDatabaseName(string $database) Set the name of the connected database. Parameters string $database Return Value string
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
void line(string $string, string $style = null, null|int|string $verbosity = null) Write a string as standard output. Parameters string $string string $style null|int|string $verbosity Return Value void
static bool hasMacro(string $name) Checks if macro is registered. Parameters string $name Return Value bool
static array parseCallback(string $callback, string $default) Parse a Class@method style callback into class and method. Parameters string $callback string $default Return Value array
setId($id) {@inheritdoc} Parameters $id
int callSilent(string $command, array $arguments = array()) Call another console command silently. Parameters string $command array $arguments Return Value int
int run(InputInterface $input, OutputInterface $output) Run the console command. Parameters InputInterface $input OutputInterface $output Return Value int
$this setRawAttributes(array $attributes, bool $sync = false) Set the array of model attributes. No checking is done. Parameters array $attributes bool $sync Return Value $this
static mixed addGlobalScope(Scope|Closure|string $scope, Closure $implementation = null) Register a new global scope on the model. Parameters Scope|Closure|string $scope Closure $implementation Return Value mixed Exceptions InvalidArgumentException
Page 272 of 996