PHP Class N98\Magento\Command\Database\ImportCommand

Inheritance: extends AbstractDatabaseCommand
Afficher le fichier Open project: netz98/n98-magerun

Méthodes publiques

Méthode Description
asText ( )
isEnabled ( ) : boolean

Méthodes protégées

Méthode Description
checkFilename ( Symfony\Component\Console\Input\InputInterface $input ) : mixed
configure ( )
doImport ( Symfony\Component\Console\Output\OutputInterface $output, string $fileName, string $exec ) : void
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | void
optimize ( $fileName ) : string Optimize a dump by converting single INSERTs per line to INSERTs with multiple lines

Method Details

asText() public méthode

public asText ( )

checkFilename() protected méthode

protected checkFilename ( Symfony\Component\Console\Input\InputInterface $input ) : mixed
$input Symfony\Component\Console\Input\InputInterface
Résultat mixed

configure() protected méthode

protected configure ( )

doImport() protected méthode

protected doImport ( Symfony\Component\Console\Output\OutputInterface $output, string $fileName, string $exec ) : void
$output Symfony\Component\Console\Output\OutputInterface
$fileName string
$exec string
Résultat void

execute() protected méthode

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
Résultat integer | void

isEnabled() public méthode

public isEnabled ( ) : boolean
Résultat boolean

optimize() protected méthode

Optimize a dump by converting single INSERTs per line to INSERTs with multiple lines
protected optimize ( $fileName ) : string
$fileName
Résultat string temporary filename