SiteCreatePublicFolderCommand
Extends AbstractCommandConsole command for creating a public folder
| since |
5.0.0 |
|---|---|
| package |
Joomla CMS |
Methods
configure
Configure the command.
configure() :
| since |
5.0.0 |
|---|
Response
void
configureIO
Configure the IO.
configureIO(\Symfony\Component\Console\Input\InputInterface input, \Symfony\Component\Console\Output\OutputInterface output) :
| since |
5.0.0 |
|---|
Arguments
- input
InputInterfaceThe input to inject into the command.- output
OutputInterfaceThe output to inject into the command.
Response
void
doExecute
Internal function to execute the command.
doExecute(\Symfony\Component\Console\Input\InputInterface input, \Symfony\Component\Console\Output\OutputInterface output) :
| since |
5.0.0 |
|---|
Arguments
- input
InputInterfaceThe input to inject into the command.- output
OutputInterfaceThe output to inject into the command.
Response
intThe command exit code
getStringFromOption
Method to get a value from option
getStringFromOption( option, question, required = true) :
| since |
5.0.0 |
|---|
Arguments
- option
stringset the option name- question
stringset the question if user enters no value to option- required
boolis it required
Response
string
Properties
defaultName
The default command name
static
| since |
5.0.0 |
|---|
Type(s)
string
ioStyle
SymfonyStyle Object
| since |
5.0.0 |
|---|
Type(s)
object
cliInput
Stores the Input Object
| since |
5.0.0 |
|---|
Type(s)
object
publicFolder
The public folder path (absolute)
| since |
5.0.0 |
|---|
Type(s)
string