'/opt/jenkins/jobs/VuFindCode/workspace/src/VuFindCode/ISBN.php-1573136951', 'data' => array ( 'f7a93c61a19b7a9bc33bdec6e914dc8f' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * ISBN validation and conversion functionality * * PHP version 7 * * Copyright (c) Demian Katz 2010. * * 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, )), )), 'deb5e57f2b465ea4d8b106821977ec4e' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * ISBN Class * * This class provides ISBN 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\\ISBN', 'functionName' => NULL, 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), '4921808c2a8237692e3e228ab3adcbe6' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Raw ISBN string * * @var string */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindCode', 'uses' => array ( ), 'className' => 'VuFindCode\\ISBN', 'functionName' => NULL, 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), 'df8322a54f2b745785aa4203fad95ab9' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Validation status of ISBN (null until checked) * * @var bool */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindCode', 'uses' => array ( ), 'className' => 'VuFindCode\\ISBN', 'functionName' => NULL, 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), '06514832d599fb1c3868490564052f05' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Constructor * * @param string $raw Raw ISBN string to convert/validate. */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindCode', 'uses' => array ( ), 'className' => 'VuFindCode\\ISBN', 'functionName' => '__construct', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), '4062db737e0df4f78616369f25dfd043' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Get the ISBN in ISBN-10 format: * * @return mixed ISBN, or false if invalid/incompatible. */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindCode', 'uses' => array ( ), 'className' => 'VuFindCode\\ISBN', 'functionName' => 'get10', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), '2d43d943a2831157e8f78b5331392c10' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Get the ISBN in ISBN-13 format: * * @return mixed ISBN, or false if invalid/incompatible. */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindCode', 'uses' => array ( ), 'className' => 'VuFindCode\\ISBN', 'functionName' => 'get13', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), '46bf01c623b85d63a472df4b1c1739b0' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Is the current ISBN 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\\ISBN', 'functionName' => 'isValid', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), 'ee6511c693f55a437267ae3d31622885' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Return the first sequence of at least 8 digits followed by an optional X. * These ISBN characters may be separated by any number of \'.\', \'-\', \'_\' and * whitespace characters; the separation characters are removed. * A lower x is converted to an upper X. * * @param string $raw ISBN to clean up. * * @return string Normalized ISBN. */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindCode', 'uses' => array ( ), 'className' => 'VuFindCode\\ISBN', 'functionName' => 'normalizeISBN', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), '045df118667295668e42364deabe7140' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Given the first 9 digits of an ISBN-10, generate the check digit. * * @param string $isbn The first 9 digits of an ISBN-10. * * @return string The check digit. */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindCode', 'uses' => array ( ), 'className' => 'VuFindCode\\ISBN', 'functionName' => 'getISBN10CheckDigit', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), '0194cbf71318158e02d170e0d5a2f578' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Is the provided ISBN-10 valid? * * @param string $isbn The ISBN-10 to test. * * @return bool */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindCode', 'uses' => array ( ), 'className' => 'VuFindCode\\ISBN', 'functionName' => 'isValidISBN10', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), '74e7599d7bd3ed4d3a7d1f761454d19d' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Given the first 12 digits of an ISBN-13, generate the check digit. * * @param string $isbn The first 12 digits of an ISBN-13. * * @return string The check digit. */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindCode', 'uses' => array ( ), 'className' => 'VuFindCode\\ISBN', 'functionName' => 'getISBN13CheckDigit', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), '26a3524c1ca7aa71b4fc24adf38bdac4' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Is the provided ISBN-13 valid? * * @param string $isbn The ISBN-13 to test. * * @return bool */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindCode', 'uses' => array ( ), 'className' => 'VuFindCode\\ISBN', 'functionName' => 'isValidISBN13', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), ), ));