PHP 클래스 Aimeos\ShopBundle\Command\SetupCommand

상속: extends Aimeos\ShopBundle\Command\Command
파일 보기 프로젝트 열기: aimeos/aimeos-symfony2

보호된 메소드들

메소드 설명
configure ( ) Configures the command name and description.
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) Executes the database initialization and update.
getDbConfig ( Aimeos\MW\Config\Iface $conf ) : array Returns the database configuration from the config object.
setOptions ( Aimeos\MW\Config\Iface $conf, Symfony\Component\Console\Input\InputInterface $input ) Extracts the configuration options from the input object and updates the configuration values in the config object.

메소드 상세

configure() 보호된 메소드

Configures the command name and description.
protected configure ( )

execute() 보호된 메소드

Executes the database initialization and update.
protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface Input object
$output Symfony\Component\Console\Output\OutputInterface Output object

getDbConfig() 보호된 메소드

Returns the database configuration from the config object.
protected getDbConfig ( Aimeos\MW\Config\Iface $conf ) : array
$conf Aimeos\MW\Config\Iface Config object
리턴 array Multi-dimensional associative list of database configuration parameters

setOptions() 보호된 메소드

Extracts the configuration options from the input object and updates the configuration values in the config object.
protected setOptions ( Aimeos\MW\Config\Iface $conf, Symfony\Component\Console\Input\InputInterface $input )
$conf Aimeos\MW\Config\Iface Configuration object
$input Symfony\Component\Console\Input\InputInterface Input object