update v1.0.7.9 R.C.
This is a Release Candidate. We are still testing.
This commit is contained in:
23
vendor/zendframework/zend-validator/src/Barcode/Ean12.php
vendored
Normal file
23
vendor/zendframework/zend-validator/src/Barcode/Ean12.php
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
/**
|
||||
* Zend Framework (http://framework.zend.com/)
|
||||
*
|
||||
* @link http://github.com/zendframework/zf2 for the canonical source repository
|
||||
* @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
*/
|
||||
|
||||
namespace Zend\Validator\Barcode;
|
||||
|
||||
class Ean12 extends AbstractAdapter
|
||||
{
|
||||
/**
|
||||
* Constructor for this barcode adapter
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->setLength(12);
|
||||
$this->setCharacters('0123456789');
|
||||
$this->setChecksum('gtin');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user