PHP Class Sylius\Behat\Context\Transform\OrderContext

Author: Grzegorz Sadowski ([email protected])
Inheritance: implements Behat\Behat\Context\Context
Show file Open project: sylius/sylius

Public Methods

Method Description
__construct ( Sylius\Component\Core\Repository\CustomerRepositoryInterface $customerRepository, Sylius\Component\Core\Repository\OrderRepositoryInterface $orderRepository )
getOrderByCustomer ( $email )
getOrderByNumber ( $orderNumber )
getOrderNumber ( $orderNumber )

Method Details

__construct() public method

public __construct ( Sylius\Component\Core\Repository\CustomerRepositoryInterface $customerRepository, Sylius\Component\Core\Repository\OrderRepositoryInterface $orderRepository )
$customerRepository Sylius\Component\Core\Repository\CustomerRepositoryInterface
$orderRepository Sylius\Component\Core\Repository\OrderRepositoryInterface

getOrderByCustomer() public method

public getOrderByCustomer ( $email )

getOrderByNumber() public method

public getOrderByNumber ( $orderNumber )

getOrderNumber() public method

public getOrderNumber ( $orderNumber )