public function guard($value, Field $field)
    {
        Assertion::choice($value, [0, 1, 2], null, $field->getName());
    }
public function guard($value, Field $field)
    {
        Assertion::choice($value, [0, 1, 2], null, $field->getName());
    }
{@inheritdoc}