'/opt/jenkins/jobs/VuFindCode/workspace/src/VuFindCode/ISMN.php-1573136951', 'data' => array ( 'a78d674c4b6cf338e211067ed1fea1e6' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * ISMN validation and conversion functionality * * PHP version 7 * * Copyright (c) Demian Katz 2019. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * * @category VuFind * @package Code * @author Demian Katz * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org Main Page */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => NULL, 'uses' => array ( ), 'className' => NULL, 'functionName' => NULL, 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), 'cdc61e5c95d82a10b870993653c4e27d' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * ISMN Class * * This class provides ISMN validation and conversion functionality. * * @category VuFind * @package Code * @author Demian Katz * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org Main Page */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindCode', 'uses' => array ( ), 'className' => 'VuFindCode\\ISMN', 'functionName' => NULL, 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), '8d27ab0a95dcc6424fc84f79d70b9045' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Raw ISMN string * * @var string */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindCode', 'uses' => array ( ), 'className' => 'VuFindCode\\ISMN', 'functionName' => NULL, 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), 'ac26688241bc7ffec7cb44c202a497c6' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Validation status of ISMN (null until checked) * * @var bool */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindCode', 'uses' => array ( ), 'className' => 'VuFindCode\\ISMN', 'functionName' => NULL, 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), '004d856acd18cb85fba4f185e1586982' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Constructor * * @param string $raw Raw ISMN string to convert/validate. */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindCode', 'uses' => array ( ), 'className' => 'VuFindCode\\ISMN', 'functionName' => '__construct', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), '2ca37c00c5d7a5dc8d58d99c2dd81db6' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Get the ISMN in ISMN-10 format: * * @return mixed ISMN, or false if invalid/incompatible. */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindCode', 'uses' => array ( ), 'className' => 'VuFindCode\\ISMN', 'functionName' => 'get10', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), '5ac908f6d23b68b781ab04fbbe73cb1f' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Get the ISMN in ISMN-13 format: * * @return mixed ISMN, or false if invalid/incompatible. */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindCode', 'uses' => array ( ), 'className' => 'VuFindCode\\ISMN', 'functionName' => 'get13', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), '2897896cd77d064e13de5e36415b6350' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Is the current ISMN valid in some format? (May be 10 or 13 digit). * * @return bool */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindCode', 'uses' => array ( ), 'className' => 'VuFindCode\\ISMN', 'functionName' => 'isValid', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), 'c9a729a0b81fd9652bf66ba51f687728' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Return the first sequence of at least 9 digits preceded by an optional M. * These ISMN characters may be separated by any number of \'.\', \'-\', \'_\' and * whitespace characters; the separation characters are removed. * A lower m is converted to an upper M. * * @param string $raw ISMN to clean up. * * @return string Normalized ISMN. */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindCode', 'uses' => array ( ), 'className' => 'VuFindCode\\ISMN', 'functionName' => 'normalizeISMN', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), 'e617892221e5dd904cedc6b1eeb98a0f' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Given the first 9 digits of an ISMN-10, generate the check digit. * * @param string $ismn The first 9 digits of an ISMN-10. * * @return string The check digit. */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindCode', 'uses' => array ( ), 'className' => 'VuFindCode\\ISMN', 'functionName' => 'getISMN10CheckDigit', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), '7f86ccecd5ec96be5803c8ba526f5e5e' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Is the provided ISMN-10 valid? * * @param string $ismn The ISMN-10 to test. * * @return bool */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindCode', 'uses' => array ( ), 'className' => 'VuFindCode\\ISMN', 'functionName' => 'isValidISMN10', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), 'f04d6dc6f73745145270c5f1846217de' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Given the first 12 digits of an ISMN-13, generate the check digit. * * @param string $ismn The first 12 digits of an ISMN-13. * * @return string The check digit. */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindCode', 'uses' => array ( ), 'className' => 'VuFindCode\\ISMN', 'functionName' => 'getISMN13CheckDigit', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), 'f0700125a1a28283bcee2daccdbb04f7' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Is the provided ISMN-13 valid? * * @param string $ismn The ISMN-13 to test. * * @return bool */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindCode', 'uses' => array ( ), 'className' => 'VuFindCode\\ISMN', 'functionName' => 'isValidISMN13', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), ), ));