Command::run()

int run(InputInterface $input, OutputInterface $output)

Runs the command.

The code to execute is either defined directly with the setCode() method or by overriding the execute() method in a sub-class.

Parameters

InputInterface $input An InputInterface instance
OutputInterface $output An OutputInterface instance

Return Value

int The command exit code

Exceptions

Exception

See also

setCode()
execute()
doc_Symfony
2016-10-28 06:09:43
Comments
Leave a Comment

Please login to continue.