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

RestartCommand::ask()

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

RestartCommand::arguments()

array arguments() Get all of the arguments passed to the command. Return Value array

RestartCommand::argument()

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

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

RestartCommand

RestartCommand class RestartCommand 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 $

ResponseTrait::withHeaders()

$this withHeaders(array $headers) Add an array of headers to the response. Parameters array $headers Return Value $this

ResponseTrait::withException()

$this withException(Exception $e) Set the exception to attach to the response. Parameters Exception $e Return Value $this

ResponseTrait::withCookie()

$this withCookie(Cookie|mixed $cookie) Add a cookie to the response. Parameters Cookie|mixed $cookie Return Value $this

ResponseTrait::throwResponse()

throwResponse() Throws the response in a HttpResponseException instance. Exceptions HttpResponseException