ConfigPublishCommand::option()

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

ConfigPublishCommand::run()

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

ConfigPublishCommand::question()

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

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

ConfigPublishCommand::fire()

void fire() Execute the console command. Return Value void

ConfigPublishCommand::confirmToProceed()

bool confirmToProceed(string $warning = 'Application In Production!', Closure $callback = null) Confirm before proceeding with the action Parameters string $warning Closure $callback Return Value bool

ConfigPublishCommand::getOutput()

OutputInterface getOutput() Get the output implementation. Return Value OutputInterface

ConfigPublishCommand::getLaravel()

Application getLaravel() Get the Laravel application instance. Return Value Application

ConfigPublishCommand::error()

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

ConfigPublishCommand::confirm()

bool confirm(string $question, bool $default = false) Confirm a question with the user. Parameters string $question bool $default Return Value bool