AbstractMaker
in package
implements
MakerInterface
AbstractYes
Convenient abstract class for makers.
Table of Contents
Interfaces
- MakerInterface
- Interface that all maker commands must implement.
Methods
- interact() : void
- If necessary, you can use this method to interactively ask the user for input.
- addDependencies() : string
- writeSuccessMessage() : void
Methods
interact()
If necessary, you can use this method to interactively ask the user for input.
public
interact(InputInterface $input, ConsoleStyle $io, Command $command) : void
Parameters
- $input : InputInterface
- $io : ConsoleStyle
- $command : Command
addDependencies()
protected
addDependencies(array<string|int, mixed> $dependencies[, string $message = null ]) : string
Parameters
- $dependencies : array<string|int, mixed>
- $message : string = null
Return values
stringwriteSuccessMessage()
protected
writeSuccessMessage(ConsoleStyle $io) : void
Parameters
- $io : ConsoleStyle