PHP Class N98\Magento\Command\Developer\Code\Model\MethodCommand

Inheritance: extends N98\Magento\Command\AbstractMagentoCommand
Afficher le fichier Open project: netz98/n98-magerun

Protected Properties

Свойство Type Description
$_fileName string
$_input Symfony\Component\Console\Input\InputInterface
$_mageModel Mage_Core_Model_Abstract
$_mageModelTable string
$_output Symfony\Component\Console\Output\OutputInterface
$_tableColumns array

Méthodes protégées

Méthode Description
camelize ( string $name ) : string
checkClassFileName ( )
checkModel ( )
configure ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | null | void
generateComment ( ) : string
getColumnType ( $columnType ) : string Mapping method to transform MySQL column types into PHP types
getGetterSetter ( ) : array
initTableColumns ( ) helper method to fill _tableColumns array
searchFullPath ( string $filename ) : string | false
writeToClassFile ( )

Method Details

camelize() protected méthode

protected camelize ( string $name ) : string
$name string
Résultat string

checkClassFileName() protected méthode

protected checkClassFileName ( )

checkModel() protected méthode

protected checkModel ( )

configure() protected méthode

protected configure ( )

execute() protected méthode

protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | null | void
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
Résultat integer | null | void

generateComment() protected méthode

protected generateComment ( ) : string
Résultat string

getColumnType() protected méthode

Mapping method to transform MySQL column types into PHP types
protected getColumnType ( $columnType ) : string
$columnType
Résultat string

getGetterSetter() protected méthode

protected getGetterSetter ( ) : array
Résultat array

initTableColumns() protected méthode

helper method to fill _tableColumns array
See also: _tableColumns
protected initTableColumns ( )

searchFullPath() protected méthode

protected searchFullPath ( string $filename ) : string | false
$filename string
Résultat string | false

writeToClassFile() protected méthode

protected writeToClassFile ( )

Property Details

$_fileName protected_oe property

protected string $_fileName
Résultat string

$_input protected_oe property

protected InputInterface,Symfony\Component\Console\Input $_input
Résultat Symfony\Component\Console\Input\InputInterface

$_mageModel protected_oe property

protected Mage_Core_Model_Abstract $_mageModel
Résultat Mage_Core_Model_Abstract

$_mageModelTable protected_oe property

protected string $_mageModelTable
Résultat string

$_output protected_oe property

protected OutputInterface,Symfony\Component\Console\Output $_output
Résultat Symfony\Component\Console\Output\OutputInterface

$_tableColumns protected_oe property

See also: initTableColumns
protected array $_tableColumns
Résultat array