MakeComponentCommand
class MakeComponentCommand extends ConsoleCommand
Supports ability to create components by running make:component.
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 41
protected int
handle()
Executes logic for command.
in
ConsoleCommand at line 57
protected FrameworkQuestion
question()
Returns instance of the FrameworkQuestion class.
at line 19
protected void
configure()
Configures the command.