commit vendor
This commit is contained in:
22
vendor/laminas/laminas-validator/src/Barcode/Sscc.php
vendored
Normal file
22
vendor/laminas/laminas-validator/src/Barcode/Sscc.php
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
<?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 Sscc extends AbstractAdapter
|
||||
{
|
||||
/**
|
||||
* Constructor for this barcode adapter
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->setLength(18);
|
||||
$this->setCharacters('0123456789');
|
||||
$this->setChecksum('gtin');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user