ServeCommand::argument()

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

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

ServeCommand

ServeCommand class ServeCommand 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 bool hasArgument(string|int $name

SerializesModels::__wakeup()

void __wakeup() Restore the model after serialization. Return Value void

SerializesModels::__sleep()

array __sleep() Prepare the instance for serialization. Return Value array

SerializesModels

SerializesModels trait SerializesModels (View source) Traits SerializesAndRestoresModelIdentifiers

SerializesAndRestoresModelIdentifiers

SerializesAndRestoresModelIdentifiers trait SerializesAndRestoresModelIdentifiers (View source)

SerializableClosure::getVariables()

array getVariables() Returns the "used" variables of the closure being serialized Return Value array

SerializableClosure::getCode()

string getCode() Returns the code of the closure being serialized Return Value string

SerializableClosure

SerializableClosure class SerializableClosure extends SerializableClosure (View source) Extends SuperClosure for backwards compatibility. Methods string getCode() Returns the code of the closure being serialized array getVariables() Returns the "used" variables of the closure being serialized