PHP Класс N98\Magento\Command\Developer\Module\CreateCommand

Наследование: extends N98\Magento\Command\AbstractMagentoCommand
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$baseFolder string
$codePool string
$modmanMode boolean
$moduleDirectory string
$moduleName string
$twigVars array
$vendorNamespace string

Защищенные методы

Метод Описание
addAdditionalFiles ( Symfony\Component\Console\Output\OutputInterface $output )
configure ( )
createModuleDirectories ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | void
initView ( Symfony\Component\Console\Input\InputInterface $input )
writeComposerConfig ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) Write composer.json
writeEtcModules ( Symfony\Component\Console\Output\OutputInterface $output )
writeModmanFile ( Symfony\Component\Console\Output\OutputInterface $output )
writeModuleConfig ( Symfony\Component\Console\Output\OutputInterface $output )
writeReadme ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) Write standard readme

Приватные методы

Метод Описание
createModuleDirectory ( string $directory )
getOutfile ( string $filename ) : string

Описание методов

addAdditionalFiles() защищенный Метод

protected addAdditionalFiles ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface

configure() защищенный Метод

protected configure ( )

createModuleDirectories() защищенный Метод

protected createModuleDirectories ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

execute() защищенный Метод

protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | void
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
Результат integer | void

initView() защищенный Метод

protected initView ( Symfony\Component\Console\Input\InputInterface $input )
$input Symfony\Component\Console\Input\InputInterface

writeComposerConfig() защищенный Метод

Write composer.json
protected writeComposerConfig ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

writeEtcModules() защищенный Метод

protected writeEtcModules ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface

writeModmanFile() защищенный Метод

protected writeModmanFile ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface

writeModuleConfig() защищенный Метод

protected writeModuleConfig ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface

writeReadme() защищенный Метод

TODO: Make author name / company URL and more configurable
См. также: https://raw.github.com/sprankhub/Magento-Extension-Sample-Readme/master/readme.markdown
protected writeReadme ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

Описание свойств

$baseFolder защищенное свойство

protected string $baseFolder
Результат string

$codePool защищенное свойство

protected string $codePool
Результат string

$modmanMode защищенное свойство

protected bool $modmanMode
Результат boolean

$moduleDirectory защищенное свойство

protected string $moduleDirectory
Результат string

$moduleName защищенное свойство

protected string $moduleName
Результат string

$twigVars защищенное свойство

protected array $twigVars
Результат array

$vendorNamespace защищенное свойство

protected string $vendorNamespace
Результат string