PHP Class Sylius\Bundle\UserBundle\Command\AbstractRoleCommand

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

Méthodes protégées

Méthode 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 méthode

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 méthode

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 méthode

protected findUserByEmail ( string $email ) : Sylius\Component\User\Model\UserInterface
$email string
Résultat Sylius\Component\User\Model\UserInterface

getEntityManager() protected méthode

protected getEntityManager ( ) : Doctrine\Common\Persistence\ObjectManager
Résultat Doctrine\Common\Persistence\ObjectManager

getUserRepository() protected méthode

protected getUserRepository ( ) : Sylius\Component\User\Repository\UserRepositoryInterface
Résultat Sylius\Component\User\Repository\UserRepositoryInterface

interact() protected méthode

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