Ean12.php 301 Bytes
<?php

namespace Laminas\Validator\Barcode;

class Ean12 extends AbstractAdapter
{
    /**
     * Constructor for this barcode adapter
     */
    public function __construct()
    {
        $this->setLength(12);
        $this->setCharacters('0123456789');
        $this->setChecksum('gtin');
    }
}