PHP Class Sylius\Behat\Context\Ui\ChannelContext

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

Public Methods

Method Description
__construct ( Sylius\Behat\Service\SharedStorageInterface $sharedStorage, Sylius\Behat\Service\Setter\ChannelContextSetterInterface $channelContextSetter, Sylius\Component\Channel\Repository\ChannelRepositoryInterface $channelRepository, Sylius\Behat\Page\Admin\Channel\CreatePageInterface $channelCreatePage, Sylius\Behat\Page\Shop\HomePageInterface $homePage )
iChangeMyCurrentChannelTo ( Sylius\Component\Core\Model\ChannelInterface $channel )
iCreateNewChannel ( $channelName )
iVisitChannelHomepage ( Sylius\Component\Core\Model\ChannelInterface $channel )

Method Details

__construct() public method

public __construct ( Sylius\Behat\Service\SharedStorageInterface $sharedStorage, Sylius\Behat\Service\Setter\ChannelContextSetterInterface $channelContextSetter, Sylius\Component\Channel\Repository\ChannelRepositoryInterface $channelRepository, Sylius\Behat\Page\Admin\Channel\CreatePageInterface $channelCreatePage, Sylius\Behat\Page\Shop\HomePageInterface $homePage )
$sharedStorage Sylius\Behat\Service\SharedStorageInterface
$channelContextSetter Sylius\Behat\Service\Setter\ChannelContextSetterInterface
$channelRepository Sylius\Component\Channel\Repository\ChannelRepositoryInterface
$channelCreatePage Sylius\Behat\Page\Admin\Channel\CreatePageInterface
$homePage Sylius\Behat\Page\Shop\HomePageInterface

iChangeMyCurrentChannelTo() public method

public iChangeMyCurrentChannelTo ( Sylius\Component\Core\Model\ChannelInterface $channel )
$channel Sylius\Component\Core\Model\ChannelInterface

iCreateNewChannel() public method

public iCreateNewChannel ( $channelName )

iVisitChannelHomepage() public method

public iVisitChannelHomepage ( Sylius\Component\Core\Model\ChannelInterface $channel )
$channel Sylius\Component\Core\Model\ChannelInterface