PHP Class Sylius\Bundle\UserBundle\Command\AbstractRoleCommand

Author: Loïc Frémont ([email protected])
Inheritance: extends Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand
Mostrar archivo Open project: sylius/sylius

Protected Methods

Method Description
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
executeRoleCommand ( Symfony\Component\Console\Output\OutputInterface $output, Sylius\Component\User\Model\UserInterface $user, array $securityRoles )
findUserByEmail ( string $email ) : Sylius\Component\User\Model\UserInterface
getEntityManager ( ) : Doctrine\Common\Persistence\ObjectManager
getUserRepository ( ) : Sylius\Component\User\Repository\UserRepositoryInterface
interact ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )

Method Details

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

executeRoleCommand() abstract protected method

abstract protected executeRoleCommand ( Symfony\Component\Console\Output\OutputInterface $output, Sylius\Component\User\Model\UserInterface $user, array $securityRoles )
$output Symfony\Component\Console\Output\OutputInterface
$user Sylius\Component\User\Model\UserInterface
$securityRoles array

findUserByEmail() protected method

protected findUserByEmail ( string $email ) : Sylius\Component\User\Model\UserInterface
$email string
return Sylius\Component\User\Model\UserInterface

getEntityManager() protected method

protected getEntityManager ( ) : Doctrine\Common\Persistence\ObjectManager
return Doctrine\Common\Persistence\ObjectManager

getUserRepository() protected method

protected getUserRepository ( ) : Sylius\Component\User\Repository\UserRepositoryInterface
return Sylius\Component\User\Repository\UserRepositoryInterface

interact() protected method

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