Command setCode(callable $code)
Sets the code to execute when running this command.
If this method is used, it overrides the code defined in the execute() method.
Command setCode(callable $code)
Sets the code to execute when running this command.
If this method is used, it overrides the code defined in the execute() method.
callable | $code | A callable(InputInterface $input, OutputInterface $output) |
Command | The current instance |
InvalidArgumentException |
execute() |
Designed by : w10schools
service@w10schools.com
Please login to continue.