PHP Класс Aimeos\ShopBundle\Command\SetupCommand

Наследование: extends Aimeos\ShopBundle\Command\Command
Показать файл Открыть проект

Защищенные методы

Метод Описание
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