PHP Class Sylius\Bundle\CoreBundle\Command\AbstractInstallCommand

Inheritance: extends Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand
显示文件 Open project: sylius/sylius

Protected Properties

Property Type Description
$commandExecutor Sylius\Bundle\CoreBundle\Installer\Executor\CommandExecutor

Protected Methods

Method Description
createProgressBar ( Symfony\Component\Console\Output\OutputInterface $output, integer $length = 10 ) : ProgressBar
ensureDirectoryExistsAndIsWritable ( string $directory, Symfony\Component\Console\Output\OutputInterface $output )
get ( string $id ) : object
getEnvironment ( ) : string
initialize ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
isDebug ( ) : boolean
renderTable ( array $headers, array $rows, Symfony\Component\Console\Output\OutputInterface $output )
runCommands ( array $commands, Symfony\Component\Console\Output\OutputInterface $output, boolean $displayProgress = true )

Method Details

createProgressBar() protected method

protected createProgressBar ( Symfony\Component\Console\Output\OutputInterface $output, integer $length = 10 ) : ProgressBar
$output Symfony\Component\Console\Output\OutputInterface
$length integer
return Symfony\Component\Console\Helper\ProgressBar

ensureDirectoryExistsAndIsWritable() protected method

protected ensureDirectoryExistsAndIsWritable ( string $directory, Symfony\Component\Console\Output\OutputInterface $output )
$directory string
$output Symfony\Component\Console\Output\OutputInterface

get() protected method

protected get ( string $id ) : object
$id string
return object

getEnvironment() protected method

protected getEnvironment ( ) : string
return string

initialize() protected method

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

isDebug() protected method

protected isDebug ( ) : boolean
return boolean

renderTable() protected method

protected renderTable ( array $headers, array $rows, Symfony\Component\Console\Output\OutputInterface $output )
$headers array
$rows array
$output Symfony\Component\Console\Output\OutputInterface

runCommands() protected method

protected runCommands ( array $commands, Symfony\Component\Console\Output\OutputInterface $output, boolean $displayProgress = true )
$commands array
$output Symfony\Component\Console\Output\OutputInterface
$displayProgress boolean

Property Details

$commandExecutor protected_oe property

protected CommandExecutor,Sylius\Bundle\CoreBundle\Installer\Executor $commandExecutor
return Sylius\Bundle\CoreBundle\Installer\Executor\CommandExecutor