Sylius\Behat\Page\Admin\Channel\CreatePageInterface::specifyCode PHP Méthode

specifyCode() public méthode

public specifyCode ( string $code )
$code string
    public function specifyCode($code);

Usage Example

Exemple #1
0
 /**
  * @When I create a new channel :channelName
  */
 public function iCreateNewChannel($channelName)
 {
     $this->channelCreatePage->open();
     $this->channelCreatePage->nameIt($channelName);
     $this->channelCreatePage->specifyCode($channelName);
     $this->channelCreatePage->create();
     $channel = $this->channelRepository->findOneBy(['name' => $channelName]);
     $this->sharedStorage->set('channel', $channel);
 }
All Usage Examples Of Sylius\Behat\Page\Admin\Channel\CreatePageInterface::specifyCode