PHP Class Sylius\Behat\Page\Admin\PromotionCoupon\GeneratePage

Author: Arkadiusz Krakowiak ([email protected])
Inheritance: extends Sylius\Behat\Page\SymfonyPage, implements Sylius\Behat\Page\Admin\PromotionCoupon\GeneratePageInterface
Afficher le fichier Open project: sylius/sylius

Méthodes publiques

Méthode Description
checkAmountValidation ( $message )
checkCodeLengthValidation ( $message )
checkGenerationValidation ( $message )
generate ( )
getRouteName ( )
setExpiresAt ( DateTime $date )
setUsageLimit ( $limit )
specifyAmount ( $amount )
specifyCodeLength ( $codeLength )

Méthodes protégées

Méthode Description
getDefinedElements ( )

Private Methods

Méthode Description
checkValidationMessageFor ( string $element, string $message ) : boolean
getValidatedField ( Behat\Mink\Element\NodeElement $element ) : Behat\Mink\Element\NodeElement

Method Details

checkAmountValidation() public méthode

public checkAmountValidation ( $message )

checkCodeLengthValidation() public méthode

public checkCodeLengthValidation ( $message )

checkGenerationValidation() public méthode

public checkGenerationValidation ( $message )

generate() public méthode

public generate ( )

getDefinedElements() protected méthode

protected getDefinedElements ( )

getRouteName() public méthode

public getRouteName ( )

setExpiresAt() public méthode

public setExpiresAt ( DateTime $date )
$date DateTime

setUsageLimit() public méthode

public setUsageLimit ( $limit )

specifyAmount() public méthode

public specifyAmount ( $amount )

specifyCodeLength() public méthode

public specifyCodeLength ( $codeLength )