mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2025-02-06 01:31:06 +01:00
26 lines
655 B
PHP
26 lines
655 B
PHP
|
<?php
|
||
|
|
||
|
/**
|
||
|
* @see https://github.com/laminas/laminas-validator for the canonical source repository
|
||
|
* @copyright https://github.com/laminas/laminas-validator/blob/master/COPYRIGHT.md
|
||
|
* @license https://github.com/laminas/laminas-validator/blob/master/LICENSE.md New BSD License
|
||
|
*/
|
||
|
|
||
|
namespace Laminas\Validator\Barcode;
|
||
|
|
||
|
class Code25interleaved extends AbstractAdapter
|
||
|
{
|
||
|
/**
|
||
|
* Constructor
|
||
|
*
|
||
|
* Sets check flag to false.
|
||
|
*/
|
||
|
public function __construct()
|
||
|
{
|
||
|
$this->setLength('even');
|
||
|
$this->setCharacters('0123456789');
|
||
|
$this->setChecksum('code25');
|
||
|
$this->useChecksum(false);
|
||
|
}
|
||
|
}
|