PHP Класс Sylius\Bundle\UserBundle\Command\AbstractRoleCommand

Автор: Loïc Frémont ([email protected])
Наследование: extends Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand
Показать файл Открыть проект

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

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

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

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

executeRoleCommand() абстрактный защищенный Метод

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 findUserByEmail ( string $email ) : Sylius\Component\User\Model\UserInterface
$email string
Результат Sylius\Component\User\Model\UserInterface

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

protected getEntityManager ( ) : Doctrine\Common\Persistence\ObjectManager
Результат Doctrine\Common\Persistence\ObjectManager

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

protected getUserRepository ( ) : Sylius\Component\User\Repository\UserRepositoryInterface
Результат Sylius\Component\User\Repository\UserRepositoryInterface

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

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