PHP 클래스 Sylius\Behat\Context\Transform\CustomerContext

저자: Łukasz Chruściel ([email protected])
상속: implements Behat\Behat\Context\Context
파일 보기 프로젝트 열기: sylius/sylius

공개 메소드들

메소드 설명
__construct ( Sylius\Component\Core\Repository\CustomerRepositoryInterface $customerRepository, Sylius\Component\Resource\Factory\FactoryInterface $customerFactory, Sylius\Behat\Service\SharedStorageInterface $sharedStorage )
getLastCustomer ( )
getOrCreateCustomerByEmail ( $email )

메소드 상세

__construct() 공개 메소드

public __construct ( Sylius\Component\Core\Repository\CustomerRepositoryInterface $customerRepository, Sylius\Component\Resource\Factory\FactoryInterface $customerFactory, Sylius\Behat\Service\SharedStorageInterface $sharedStorage )
$customerRepository Sylius\Component\Core\Repository\CustomerRepositoryInterface
$customerFactory Sylius\Component\Resource\Factory\FactoryInterface
$sharedStorage Sylius\Behat\Service\SharedStorageInterface

getLastCustomer() 공개 메소드

public getLastCustomer ( )

getOrCreateCustomerByEmail() 공개 메소드

public getOrCreateCustomerByEmail ( $email )