PHP Class Sylius\Behat\Context\Transform\CustomerContext

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

Public Methods

Method 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 method

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 method

public getLastCustomer ( )

getOrCreateCustomerByEmail() public method

public getOrCreateCustomerByEmail ( $email )