PHP Класс Sylius\Bundle\CoreBundle\Command\SetupCommand

Автор: Paweł Jędrzejewski ([email protected])
Наследование: extends AbstractInstallCommand
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
configure ( )
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
setupAdministratorUser ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, $localeCode ) : integer

Приватные методы

Метод Описание
configureNewUser ( Sylius\Component\Core\Model\AdminUserInterface $user, Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : Sylius\Component\Core\Model\AdminUserInterface
createEmailQuestion ( Symfony\Component\Console\Output\OutputInterface $output ) : Symfony\Component\Console\Question\Question
createPasswordQuestion ( string $message, Closure $validator ) : Symfony\Component\Console\Question\Question
getAdministratorPassword ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : mixed
getPasswordQuestionValidator ( Symfony\Component\Console\Output\OutputInterface $output ) : Closure

Описание методов

configure() защищенный Метод

protected configure ( )

execute() защищенный Метод

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

setupAdministratorUser() защищенный Метод

protected setupAdministratorUser ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, $localeCode ) : integer
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
$localeCode
Результат integer