PHP Class Sylius\Bundle\CoreBundle\Command\SetupCommand

Author: Paweł Jędrzejewski ([email protected])
Inheritance: extends AbstractInstallCommand
Datei anzeigen Open project: sylius/sylius Class Usage Examples

Protected Methods

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

Private Methods

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

Method Details

configure() protected method

protected configure ( )

execute() protected method

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 method

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