src/PeekAndPoke/Component/Formal/Field/AbstractFormField.php
public function expectsOutcome(
        IOutcomeRule $rule,
        IOutcomeRule $rule2 = null,
        IOutcomeRule $rule3 = null,
        IOutcomeRule $rule4 = null,
        IOutcomeRule $rule5 = null,
        IOutcomeRule $rule6 = null,
        IOutcomeRule $rule7 = null,
        IOutcomeRule $rule8 = null,
        IOutcomeRule $rule9 = null,
        IOutcomeRule $rule10 = null
    )
    {
        foreach (func_get_args() as $arg) {
            if ($arg instanceof IInputRule) {
                $this->outcomeRules[] = $arg;
            }
        }

        return $this;
    }
public function expectsOutcome(
        IOutcomeRule $rule,
        IOutcomeRule $rule2 = null,
        IOutcomeRule $rule3 = null,
        IOutcomeRule $rule4 = null,
        IOutcomeRule $rule5 = null,
        IOutcomeRule $rule6 = null,
        IOutcomeRule $rule7 = null,
        IOutcomeRule $rule8 = null,
        IOutcomeRule $rule9 = null,
        IOutcomeRule $rule10 = null
    )
    {
        foreach (func_get_args() as $arg) {
            if ($arg instanceof IInputRule) {
                $this->outcomeRules[] = $arg;
            }
        }

        return $this;
    }
public function expectsOutcome ( IOutcomeRule $ rule , IOutcomeRule $ rule2 = null , IOutcomeRule $ rule3 = null , IOutcomeRule $ rule4 = null , IOutcomeRule $ rule5 = null , IOutcomeRule $ rule6 = null , IOutcomeRule $ rule7 = null , IOutcomeRule $ rule8 = null , IOutcomeRule $ rule9 = null , IOutcomeRule $ rule10 = null ) { foreach ( func_get_args ( ) as $ arg ) { if ( $ arg instanceof IInputRule ) { $ this -> outcomeRules [ ] = $ arg ; } } return $ this ; }
Add Rules that are executed AFTER the values are mapped

@param IOutcomeRule $rule
@param IOutcomeRule $rule2
@param IOutcomeRule $rule3
@param IOutcomeRule $rule4
@param IOutcomeRule $rule5
@param IOutcomeRule $rule6
@param IOutcomeRule $rule7
@param IOutcomeRule $rule8
@param IOutcomeRule $rule9
@param IOutcomeRule $rule10

@return $this
Add Rules that are executed AFTER the values are mapped