PluginGenerateCommand extends Command
Table of Contents
| $defaultName | ||
|---|---|---|
| $io | SymfonyStyle | |
| $fs | Filesystem | |
| $container | ContainerInterface | |
| __construct() | mixed | |
| configure() | mixed | |
| initialize() | mixed | |
| interact() | mixed | |
| execute() | mixed | |
| validateCode() | mixed | |
| validateVersion() | mixed | |
| createDirectories() | mixed | |
| createConfig() | mixed | |
| createMessages() | mixed | |
| createTwigBlock() | mixed | |
| createNav() | mixed | |
| createEvent() | mixed | |
| createConfigController() | mixed |
Properties
$defaultName
protected
static mixed
$defaultName
= 'eccube:plugin:generate'
$io
protected
SymfonyStyle
$io
$fs
protected
Filesystem
$fs
$container
protected
ContainerInterface
$container
Methods
__construct()
public
__construct(
$container :
ContainerInterface
)
: mixed
Parameters
- $container : ContainerInterface
Return values
mixedconfigure()
protected
configure(
)
: mixed
Return values
mixedinitialize()
protected
initialize(
$input :
InputInterface
, $output :
OutputInterface
)
: mixed
Parameters
- $input : InputInterface
- $output : OutputInterface
Return values
mixedinteract()
protected
interact(
$input :
InputInterface
, $output :
OutputInterface
)
: mixed
Parameters
- $input : InputInterface
- $output : OutputInterface
Return values
mixedexecute()
protected
execute(
$input :
InputInterface
, $output :
OutputInterface
)
: mixed
Parameters
- $input : InputInterface
- $output : OutputInterface
Return values
mixedvalidateCode()
public
validateCode(
$code :
mixed
)
: mixed
Parameters
- $code : mixed
Return values
mixedvalidateVersion()
public
validateVersion(
$version :
mixed
)
: mixed
Parameters
- $version : mixed
Return values
mixedcreateDirectories()
protected
createDirectories(
$pluginDir :
string
)
: mixed
Parameters
- $pluginDir : string
Return values
mixedcreateConfig()
protected
createConfig(
$pluginDir :
string
, $name :
mixed
, $code :
mixed
, $version :
mixed
)
: mixed
Parameters
- $pluginDir : string
- $name : mixed
- $code : mixed
- $version : mixed
Return values
mixedcreateMessages()
protected
createMessages(
$pluginDir :
string
)
: mixed
Parameters
- $pluginDir : string
Return values
mixedcreateTwigBlock()
protected
createTwigBlock(
$pluginDir :
string
, $code :
mixed
)
: mixed
Parameters
- $pluginDir : string
- $code : mixed
Return values
mixedcreateNav()
protected
createNav(
$pluginDir :
string
, $code :
mixed
)
: mixed
Parameters
- $pluginDir : string
- $code : mixed
Return values
mixedcreateEvent()
protected
createEvent(
$pluginDir :
string
, $code :
mixed
)
: mixed
Parameters
- $pluginDir : string
- $code : mixed
Return values
mixedcreateConfigController()
protected
createConfigController(
$pluginDir :
string
, $code :
mixed
)
: mixed
Parameters
- $pluginDir : string
- $code : mixed