'/opt/jenkins/jobs/VuFindHarvest/workspace/src/OaiPmh/RecordXmlFormatter.php-1584564075', 'data' => array ( '99a7b63a1c1d39587764384f0e30e7ab' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * OAI-PMH XML Record Formatter * * 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, )), )), '36e8cc3ff0c1f098bf27a081bedb51cd' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * OAI-PMH XML Record Formatter * * @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 ( ), 'className' => 'VuFindHarvest\\OaiPmh\\RecordXmlFormatter', 'functionName' => NULL, 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), '7376d436fbaebdd7c79ab03fc0d7e88a' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Search strings for global search-and-replace. * * @var array */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindHarvest\\OaiPmh', 'uses' => array ( ), 'className' => 'VuFindHarvest\\OaiPmh\\RecordXmlFormatter', 'functionName' => NULL, 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), '4ff033bce36df079572c8447dd301f83' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Replacement strings for global search-and-replace. * * @var array */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindHarvest\\OaiPmh', 'uses' => array ( ), 'className' => 'VuFindHarvest\\OaiPmh\\RecordXmlFormatter', 'functionName' => NULL, 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), '9854aa47815a7cde117452c7693d18bb' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Tag to use for injecting IDs into XML (false for none) * * @var string|bool */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindHarvest\\OaiPmh', 'uses' => array ( ), 'className' => 'VuFindHarvest\\OaiPmh\\RecordXmlFormatter', 'functionName' => NULL, 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), 'a4e7b87f851f35bf2461560f96e200c6' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Tag to use for injecting setSpecs (false for none) * * @var string|bool */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindHarvest\\OaiPmh', 'uses' => array ( ), 'className' => 'VuFindHarvest\\OaiPmh\\RecordXmlFormatter', 'functionName' => NULL, 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), '25fd86a19ab74b93f1e056d3f32397dd' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Tag to use for injecting set names (false for none) * * @var string|bool */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindHarvest\\OaiPmh', 'uses' => array ( ), 'className' => 'VuFindHarvest\\OaiPmh\\RecordXmlFormatter', 'functionName' => NULL, 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), 'c3f9c78e8b98943922ddd98cb634c66d' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Tag to use for injecting datestamp (false for none) * * @var string|bool */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindHarvest\\OaiPmh', 'uses' => array ( ), 'className' => 'VuFindHarvest\\OaiPmh\\RecordXmlFormatter', 'functionName' => NULL, 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), '954b8347b71d431cd23ab8f891e47821' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * List of header elements to copy into body * * @var array */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindHarvest\\OaiPmh', 'uses' => array ( ), 'className' => 'VuFindHarvest\\OaiPmh\\RecordXmlFormatter', 'functionName' => NULL, 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), '490e124d2af241df8e7929a075edea98' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Associative array of setSpec => setName * * @var array */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindHarvest\\OaiPmh', 'uses' => array ( ), 'className' => 'VuFindHarvest\\OaiPmh\\RecordXmlFormatter', 'functionName' => NULL, 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), '1edf6c43bf914722dd7b7ae20b9ca744' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Constructor * * @param array $settings Configuration settings */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindHarvest\\OaiPmh', 'uses' => array ( ), 'className' => 'VuFindHarvest\\OaiPmh\\RecordXmlFormatter', 'functionName' => '__construct', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), 'cdfe18f541dbab4a4c35ed2b86d6360f' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Fix namespaces in the top tag of the XML document to compensate for bugs * in the SimpleXML library. * * @param string $xml XML document to clean up * @param array $ns Namespaces to check * @param string $attr Attributes extracted from the tag * * @return string */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindHarvest\\OaiPmh', 'uses' => array ( ), 'className' => 'VuFindHarvest\\OaiPmh\\RecordXmlFormatter', 'functionName' => 'fixNamespaces', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), '7dfce6ac56791ec1649df9a4a4a4ca4d' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Format a line of XML. * * @param string $tag Tag name * @param string $value Content of tag * * @return string */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindHarvest\\OaiPmh', 'uses' => array ( ), 'className' => 'VuFindHarvest\\OaiPmh\\RecordXmlFormatter', 'functionName' => 'createTag', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), '611bafb320623a333cb8bcd7aa778c46' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Format the ID as an XML tag for inclusion in final record. * * @param string $id Record ID * * @return string */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindHarvest\\OaiPmh', 'uses' => array ( ), 'className' => 'VuFindHarvest\\OaiPmh\\RecordXmlFormatter', 'functionName' => 'getIdAdditions', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), '0fd162daec638af2ea773872edc05542' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Format setSpec header element as XML tags for inclusion in final record. * * @param object $setSpec Header setSpec element (in SimpleXML format). * * @return string */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindHarvest\\OaiPmh', 'uses' => array ( ), 'className' => 'VuFindHarvest\\OaiPmh\\RecordXmlFormatter', 'functionName' => 'getHeaderSetAdditions', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), '0a649bf018bf5a0d95586f1bf7b04032' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Format header elements as XML tags for inclusion in final record. * * @param object $header Header element (in SimpleXML format). * * @return string */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindHarvest\\OaiPmh', 'uses' => array ( ), 'className' => 'VuFindHarvest\\OaiPmh\\RecordXmlFormatter', 'functionName' => 'getHeaderAdditions', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), 'c3f55381344e08430e837a9d2b2ccd2b' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Extract attributes from the tag that need to be inserted * into the metadata record contained within the tag. * * @param string $raw The full XML * @param string $record The metadata record with the outer tag * stripped off. * * @return string */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindHarvest\\OaiPmh', 'uses' => array ( ), 'className' => 'VuFindHarvest\\OaiPmh\\RecordXmlFormatter', 'functionName' => 'extractMetadataAttributes', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), '3ba3ad6c3ff5409cb52d817c371268fb' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Perform global search and replace. * * @param string $xml XML to update. * * @return string */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindHarvest\\OaiPmh', 'uses' => array ( ), 'className' => 'VuFindHarvest\\OaiPmh\\RecordXmlFormatter', 'functionName' => 'performGlobalReplace', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), '3620700f6965476bc465d08c2603a030' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Save a record to disk. * * @param string $id ID of record to save. * @param object $recordObj Record to save (in SimpleXML format). * * @return string */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindHarvest\\OaiPmh', 'uses' => array ( ), 'className' => 'VuFindHarvest\\OaiPmh\\RecordXmlFormatter', 'functionName' => 'format', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), '556a50fa056884652843a1c51694b346' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Do we need access to set information? * * @return bool */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindHarvest\\OaiPmh', 'uses' => array ( ), 'className' => 'VuFindHarvest\\OaiPmh\\RecordXmlFormatter', 'functionName' => 'needsSetNames', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), 'e90cf258f206f205912f141c88b5777b' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Inject set name information. * * @param array $names Associative array of setSpec => setName * * @return void */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindHarvest\\OaiPmh', 'uses' => array ( ), 'className' => 'VuFindHarvest\\OaiPmh\\RecordXmlFormatter', 'functionName' => 'setSetNames', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), ), ));