class GenerateExtensionCommand extends AbstractCommand

Properties

protected InputInterface $input from AbstractCommand
protected OutputInterface $output from AbstractCommand

Methods

execute(InputInterface $input, OutputInterface $output)

<p>{@inheritdoc}</p>

fire()

<p>Execute the console command.</p>

bool
hasOption(string $name)

<p>Did the user pass the given option?</p>

info(string $string)

<p>Send an info string to the user.</p>

configure()

No description

ask($question, $default = null)

No description

copyStub($destination, $replacements = [])

No description

recursiveCopy($src, $dst, $replacements = [])

No description

Details

protected execute(InputInterface $input, OutputInterface $output)

<p>{@inheritdoc}</p>

Parameters

InputInterface $input
OutputInterface $output

protected fire()

<p>Execute the console command.</p>

protected bool hasOption(string $name)

<p>Did the user pass the given option?</p>

Parameters

string $name

Return Value

bool

protected info(string $string)

<p>Send an info string to the user.</p>

Parameters

string $string

protected configure()

protected ask($question, $default = null)

Parameters

$question
$default

protected copyStub($destination, $replacements = [])

Parameters

$destination
$replacements

protected recursiveCopy($src, $dst, $replacements = [])

Parameters

$src
$dst
$replacements