AppNameCommand::call()

int call(string $command, array $arguments = array()) Call another console command. Parameters string $command array $arguments Return Value int

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

AppNameCommand::ask()

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

AppNameCommand::argument()

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

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

AppNameCommand

AppNameCommand class AppNameCommand extends Command (View source) Methods void __construct(Composer $composer, Filesystem $files) Create a new key generator 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 ha

ApplicationTrait::withSession()

$this withSession(array $data) Set the session to the given array. Parameters array $data Return Value $this

ApplicationTrait::withoutMiddleware()

$this withoutMiddleware() Disable middleware for the test. Return Value $this

ApplicationTrait::session()

void session(array $data) Set the session to the given array. Parameters array $data Return Value void

ApplicationTrait::seed()

void seed(string $class = 'DatabaseSeeder') Seed a given database connection. Parameters string $class Return Value void