MakesHttpRequests::action()

Response action(string $method, string $action, array $wildcards = array(), array $parameters = array(), array $cookies = array(), array $files = array(), array $server = array(), string $content = null) Call a controller action and return the Response. Parameters string $method string $action array $wildcards array $parameters array $cookies array $files array $server string $content Return Value Response

MakesHttpRequests

MakesHttpRequests trait MakesHttpRequests (View source) Traits InteractsWithPages

MakeControllerCommand::__construct()

void __construct(ControllerGenerator $generator, string $path) Create a new make controller command instance. Parameters ControllerGenerator $generator string $path Return Value void

MakeControllerCommand::table()

void table(array $headers, array $rows, string $style = 'default') Format input to textual table Parameters array $headers array $rows string $style Return Value void

MakeControllerCommand::setLaravel()

void setLaravel(Application $laravel) Set the Laravel application instance. Parameters Application $laravel Return Value void

MakeControllerCommand::secret()

string secret(string $question, bool $fallback = true) Prompt the user for input but hide the answer from the console. Parameters string $question bool $fallback Return Value string

MakeControllerCommand::run()

int run(InputInterface $input, OutputInterface $output) Run the console command. Parameters InputInterface $input OutputInterface $output Return Value int

MakeControllerCommand::question()

void question(string $string) Write a string as question output. Parameters string $string Return Value void

MakeControllerCommand::option()

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

MakeControllerCommand::line()

void line(string $string) Write a string as standard output. Parameters string $string Return Value void