'/opt/jenkins/jobs/VuFindHarvest/workspace/src/OaiPmh/RecordWriter.php-1584564075', 'data' => array ( '6ecc56b3768061f340bc5d1f8aa4e0f6' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * OAI-PMH Record Writer * * PHP version 7 * * Copyright (c) Demian Katz 2016. * * 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 Harvest_Tools * @author Demian Katz * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org/wiki/indexing:oai-pmh Wiki */', '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, )), )), '1e3d04236d7e0dfd3bf02dcf064dfb86' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * OAI-PMH Record Writer * * @category VuFind * @package Harvest_Tools * @author Demian Katz * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License * @link https://vufind.org/wiki/indexing:oai-pmh Wiki */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindHarvest\\OaiPmh', 'uses' => array ( 'recordwriterstrategyinterface' => 'VuFindHarvest\\RecordWriterStrategy\\RecordWriterStrategyInterface', ), 'className' => 'VuFindHarvest\\OaiPmh\\RecordWriter', 'functionName' => NULL, 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), 'fa8387543d797a14eadb2abd85506e2a' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Filename for logging harvested IDs (false for none) * * @var string|bool */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindHarvest\\OaiPmh', 'uses' => array ( 'recordwriterstrategyinterface' => 'VuFindHarvest\\RecordWriterStrategy\\RecordWriterStrategyInterface', ), 'className' => 'VuFindHarvest\\OaiPmh\\RecordWriter', 'functionName' => NULL, 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), '09ce3ba41d6754007e12b78c3d665419' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * OAI prefix to strip from ID values * * @var string */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindHarvest\\OaiPmh', 'uses' => array ( 'recordwriterstrategyinterface' => 'VuFindHarvest\\RecordWriterStrategy\\RecordWriterStrategyInterface', ), 'className' => 'VuFindHarvest\\OaiPmh\\RecordWriter', 'functionName' => NULL, 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), '4bde5e1ff647e73ea065bb1f25bfd1b5' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Regular expression searches * * @var array */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindHarvest\\OaiPmh', 'uses' => array ( 'recordwriterstrategyinterface' => 'VuFindHarvest\\RecordWriterStrategy\\RecordWriterStrategyInterface', ), 'className' => 'VuFindHarvest\\OaiPmh\\RecordWriter', 'functionName' => NULL, 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), '76ed99251b811cc11ec5cfc75b57fc4f' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Replacements for regular expression matches * * @var array */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindHarvest\\OaiPmh', 'uses' => array ( 'recordwriterstrategyinterface' => 'VuFindHarvest\\RecordWriterStrategy\\RecordWriterStrategyInterface', ), 'className' => 'VuFindHarvest\\OaiPmh\\RecordWriter', 'functionName' => NULL, 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), '33595f99259fc2b7828f4810c4ee3ac3' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * XML record formatter * * @var RecordXmlFormatter */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindHarvest\\OaiPmh', 'uses' => array ( 'recordwriterstrategyinterface' => 'VuFindHarvest\\RecordWriterStrategy\\RecordWriterStrategyInterface', ), 'className' => 'VuFindHarvest\\OaiPmh\\RecordWriter', 'functionName' => NULL, 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), '06de63f8f517131f93534d928e27de91' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Writer strategy * * @var RecordWriterStrategyInterface */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindHarvest\\OaiPmh', 'uses' => array ( 'recordwriterstrategyinterface' => 'VuFindHarvest\\RecordWriterStrategy\\RecordWriterStrategyInterface', ), 'className' => 'VuFindHarvest\\OaiPmh\\RecordWriter', 'functionName' => NULL, 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), 'ee4a60e072954f0232c5b81b911e3dc8' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Constructor * * @param RecordWriterStrategyInterface $strategy Writing strategy * @param RecordXmlFormatter $formatter XML record formatter * @param array $settings Configuration settings */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindHarvest\\OaiPmh', 'uses' => array ( 'recordwriterstrategyinterface' => 'VuFindHarvest\\RecordWriterStrategy\\RecordWriterStrategyInterface', ), 'className' => 'VuFindHarvest\\OaiPmh\\RecordWriter', 'functionName' => '__construct', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), '6518281bef621d854e7be8ab44cf806b' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Extract the ID from a record object (support method for processRecords()). * * @param object $record SimpleXML record. * * @return string The ID value. */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindHarvest\\OaiPmh', 'uses' => array ( 'recordwriterstrategyinterface' => 'VuFindHarvest\\RecordWriterStrategy\\RecordWriterStrategyInterface', ), 'className' => 'VuFindHarvest\\OaiPmh\\RecordWriter', 'functionName' => 'extractID', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), 'a0da9914a7a0fa18835c60c94f27f601' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Normalize a date to a Unix timestamp. * * @param string $date Date (ISO-8601 or YYYY-MM-DD HH:MM:SS) * * @return integer Unix timestamp (or false if $date invalid) */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindHarvest\\OaiPmh', 'uses' => array ( 'recordwriterstrategyinterface' => 'VuFindHarvest\\RecordWriterStrategy\\RecordWriterStrategyInterface', ), 'className' => 'VuFindHarvest\\OaiPmh\\RecordWriter', 'functionName' => 'normalizeDate', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), 'f67d7cafdb889fbaea4fa686010e4ae2' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Write a log file of harvested IDs (if configured to do so). * * @param array $harvestedIds Harvested IDs * * @return void * @throws \\Exception */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindHarvest\\OaiPmh', 'uses' => array ( 'recordwriterstrategyinterface' => 'VuFindHarvest\\RecordWriterStrategy\\RecordWriterStrategyInterface', ), 'className' => 'VuFindHarvest\\OaiPmh\\RecordWriter', 'functionName' => 'writeHarvestedIdsLog', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), '6f7de4bc3dcc633a7c78932c7f90c20d' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Get base path for writes. * * @return string */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindHarvest\\OaiPmh', 'uses' => array ( 'recordwriterstrategyinterface' => 'VuFindHarvest\\RecordWriterStrategy\\RecordWriterStrategyInterface', ), 'className' => 'VuFindHarvest\\OaiPmh\\RecordWriter', 'functionName' => 'getBasePath', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), 'bb03ab0d6d53d6f0415a82beff298b2b' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Save harvested records to disk and return the end date. * * @param object $records SimpleXML records. * * @return int */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindHarvest\\OaiPmh', 'uses' => array ( 'recordwriterstrategyinterface' => 'VuFindHarvest\\RecordWriterStrategy\\RecordWriterStrategyInterface', ), 'className' => 'VuFindHarvest\\OaiPmh\\RecordWriter', 'functionName' => 'write', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), ), ));