PHP Class Sylius\Behat\Context\Transform\CustomerContext

Author: Łukasz Chruściel ([email protected])
Inheritance: implements Behat\Behat\Context\Context
Afficher le fichier Open project: sylius/sylius

Méthodes publiques

Méthode Description
__construct ( Sylius\Component\Core\Repository\CustomerRepositoryInterface $customerRepository, Sylius\Component\Resource\Factory\FactoryInterface $customerFactory, Sylius\Behat\Service\SharedStorageInterface $sharedStorage )
getLastCustomer ( )
getOrCreateCustomerByEmail ( $email )

Method Details

__construct() public méthode

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

public getLastCustomer ( )

getOrCreateCustomerByEmail() public méthode

public getOrCreateCustomerByEmail ( $email )