Sunnysideup\Ecommerce\Model\Process\OrderStep::hasPassed
Checks if a step has passed (been completed) in comparison to the current step.
Signature
public function hasPassed(mixed
$code,
[boolean
$orIsEqualTo = false] )
Parameters
$code
— mixed$orIsEqualTo
— boolean- if set to true, this method will return TRUE if the step being checked is the current one
Returns
- bool