ConditionInterface
interface ConditionInterface
Manage how the application checks its state in order to check if it matches the implemented condition
Methods
Constructor
Get Condition Service id
Check validators relevancy and store them
Test if the current application state matches conditions
Get I18n name
Get I18n tooltip Explain in detail what the Condition checks
Get I18n summary Explain briefly the condition with given values
Return all validators
Return a serializable Condition
Draw the input displayed in the BackOffice allowing Admin to set its Coupon Conditions
Details
at line 34
__construct(
FacadeInterface $adapter)
Constructor
at line 41
string
getServiceId()
Get Condition Service id
at line 54
$this
setValidatorsFromForm(
array $operators,
array $values)
Check validators relevancy and store them
at line 61
bool
isMatching()
Test if the current application state matches conditions
at line 68
string
getName()
Get I18n name
at line 76
string
getToolTip()
Get I18n tooltip Explain in detail what the Condition checks
at line 84
string
getSummary()
Get I18n summary Explain briefly the condition with given values
at line 91
array
getValidators()
Return all validators
at line 98
SerializableCondition
getSerializableCondition()
Return a serializable Condition
at line 106
string
drawBackOfficeInputs()
Draw the input displayed in the BackOffice allowing Admin to set its Coupon Conditions