Gemorroj/Image_Barcode2 — comment on commit fa1f65394977d520e6ea9f4d65069019c2582261
File: Image/Barcode2.php line 127
By CloCkWeRX:

I would be tempted to push the validation into setBarcode(). If you try to set an invalid barcode -> invalidargumentexception.