PHP Class N98\Magento\Command\Database\ImportCommand

Inheritance: extends AbstractDatabaseCommand
Datei anzeigen Open project: netz98/n98-magerun

Public Methods

Method Description
asText ( )
isEnabled ( ) : boolean

Protected Methods

Method 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 method

public asText ( )

checkFilename() protected method

protected checkFilename ( Symfony\Component\Console\Input\InputInterface $input ) : mixed
$input Symfony\Component\Console\Input\InputInterface
return mixed

configure() protected method

protected configure ( )

doImport() protected method

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

execute() protected method

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
return integer | void

isEnabled() public method

public isEnabled ( ) : boolean
return boolean

optimize() protected method

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