MakeVitestTestCommand
class MakeVitestTestCommand extends ConsoleCommand
Creates test for React.js or JavaScript files. Use flags to determine which one to generate. More information can be found here.
Traits
Wrapper class for InputInterface functions.
Properties
| protected InputInterface | $input | The Symfony InputInterface object. |
from ConsoleCommand |
| protected OutputInterface | $output | The Symfony OutputInterface object. |
from ConsoleCommand |
Methods
int
execute(InputInterface $input, OutputInterface $output)
Implements execute from parent class.
from
ConsoleCommand
int
handle()
Executes logic for command.
void
configure()
Configures the command.
Details
in
ConsoleIO at line 16
mixed
getArgument(mixed $argument)
Wrapper for InputInterface::getArgument function.
in
ConsoleIO at line 26
mixed
getOption(mixed $option)
Wrapper for InputInterface::getOption function.
in
ConsoleIO at line 36
bool
hasOption(string $name)
Wrapper for InputInterface::hasOption function.
in
ConsoleCommand at line 39
protected int
execute(InputInterface $input, OutputInterface $output)
Implements execute from parent class.
at line 37
protected int
handle()
Executes logic for command.
in
ConsoleCommand at line 57
protected FrameworkQuestion
question()
Returns instance of the FrameworkQuestion class.
at line 21
protected void
configure()
Configures the command.