PHP 클래스 spec\Sylius\Bundle\CoreBundle\Validator\Constraints\UniqueReviewerEmailValidatorSpec

저자: Mateusz Zalewski ([email protected])
저자: Grzegorz Sadowski ([email protected])
상속: extends PhpSpec\ObjectBehavior
파일 보기 프로젝트 열기: sylius/sylius

공개 메소드들

메소드 설명
it_extends_constraint_validator_class ( )
it_is_initializable ( )
it_validates_if_user_with_given_email_is_already_registered ( Sylius\Bundle\UserBundle\Doctrine\ORM\UserRepository $userRepository, Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage, Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface $authorizationChecker, Symfony\Component\Validator\Context\ExecutionContextInterface $executionContextInterface, Symfony\Component\Validator\Violation\ConstraintViolationBuilderInterface $constraintViolationBuilder, Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token, Sylius\Component\Review\Model\ReviewInterface $review, Sylius\Component\Customer\Model\CustomerInterface $customer, Sylius\Component\Customer\Model\CustomerInterface $existingUser )
let ( Sylius\Bundle\UserBundle\Doctrine\ORM\UserRepository $userRepository, Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage, Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface $authorizationChecker, Symfony\Component\Validator\Context\ExecutionContextInterface $executionContextInterface )

메소드 상세

it_extends_constraint_validator_class() 공개 메소드

it_is_initializable() 공개 메소드

public it_is_initializable ( )

it_validates_if_user_with_given_email_is_already_registered() 공개 메소드

public it_validates_if_user_with_given_email_is_already_registered ( Sylius\Bundle\UserBundle\Doctrine\ORM\UserRepository $userRepository, Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage, Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface $authorizationChecker, Symfony\Component\Validator\Context\ExecutionContextInterface $executionContextInterface, Symfony\Component\Validator\Violation\ConstraintViolationBuilderInterface $constraintViolationBuilder, Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token, Sylius\Component\Review\Model\ReviewInterface $review, Sylius\Component\Customer\Model\CustomerInterface $customer, Sylius\Component\Customer\Model\CustomerInterface $existingUser )
$userRepository Sylius\Bundle\UserBundle\Doctrine\ORM\UserRepository
$tokenStorage Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface
$authorizationChecker Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface
$executionContextInterface Symfony\Component\Validator\Context\ExecutionContextInterface
$constraintViolationBuilder Symfony\Component\Validator\Violation\ConstraintViolationBuilderInterface
$token Symfony\Component\Security\Core\Authentication\Token\TokenInterface
$review Sylius\Component\Review\Model\ReviewInterface
$customer Sylius\Component\Customer\Model\CustomerInterface
$existingUser Sylius\Component\Customer\Model\CustomerInterface

let() 공개 메소드

public let ( Sylius\Bundle\UserBundle\Doctrine\ORM\UserRepository $userRepository, Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage, Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface $authorizationChecker, Symfony\Component\Validator\Context\ExecutionContextInterface $executionContextInterface )
$userRepository Sylius\Bundle\UserBundle\Doctrine\ORM\UserRepository
$tokenStorage Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface
$authorizationChecker Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface
$executionContextInterface Symfony\Component\Validator\Context\ExecutionContextInterface