'/opt/jenkins/jobs/VuFindHarvest/workspace/src/OaiPmh/StateManager.php-1584564075', 'data' => array ( 'c8da30984ad2ebb7b034df946f784586' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * OAI-PMH State Manager (for persisting harvest state) * * 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 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, )), )), '00aabb9c20a58e0ad789883edfba2bdb' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * OAI-PMH State Manager (for persisting harvest state) * * This class actually serves two distinct functions: * * Long-term state management: remembering/retrieving the end date of the most * recent harvest through saveDate()/loadDate(). * * Short-term state management: remembering resumption tokens to allow for * continuation of an interrupted harvest through saveState()/loadState(). * * @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\\StateManager', 'functionName' => NULL, 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), 'd10bbb19d4c63fc983c907cf64495c7d' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * File for tracking last harvest date * * @var string */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindHarvest\\OaiPmh', 'uses' => array ( ), 'className' => 'VuFindHarvest\\OaiPmh\\StateManager', 'functionName' => NULL, 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), '0457d4784c27ebef799f7b09b7eb2bc2' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * File for tracking last harvest state (for continuing interrupted * connection). * * @var string */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindHarvest\\OaiPmh', 'uses' => array ( ), 'className' => 'VuFindHarvest\\OaiPmh\\StateManager', 'functionName' => NULL, 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), '6814159bd55f9b3000107a45aeebef3a' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Constructor. * * @param string $basePath Directory to contain state files */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindHarvest\\OaiPmh', 'uses' => array ( ), 'className' => 'VuFindHarvest\\OaiPmh\\StateManager', 'functionName' => '__construct', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), 'f4ec06686e5f8580a7dee9a91c5a364d' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Clear the state most recently saved to saveState(). * * @return void */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindHarvest\\OaiPmh', 'uses' => array ( ), 'className' => 'VuFindHarvest\\OaiPmh\\StateManager', 'functionName' => 'clearState', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), '1c2e80fb8efa72ce7831fb4057a99cd4' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Retrieve the date from the "last harvested" file and use it as our start * date if it is available. * * @return string */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindHarvest\\OaiPmh', 'uses' => array ( ), 'className' => 'VuFindHarvest\\OaiPmh\\StateManager', 'functionName' => 'loadDate', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), '338fd74bddbb57623d3a31efe40215db' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Load the last saved harvest state. Returns an array of * [set, resumption token, start date] if found; false otherwise. * * @return array|bool */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindHarvest\\OaiPmh', 'uses' => array ( ), 'className' => 'VuFindHarvest\\OaiPmh\\StateManager', 'functionName' => 'loadState', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), 'f1cdd7b89c2c6b70562da1bdced5e866' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Save a date to the "last harvested" file. * * @param string $date Date to save. * * @return void */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindHarvest\\OaiPmh', 'uses' => array ( ), 'className' => 'VuFindHarvest\\OaiPmh\\StateManager', 'functionName' => 'saveDate', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), 'a461dfd8b9b940cc02d10235686d5ce1' => PHPStan\PhpDoc\NameScopedPhpDocString::__set_state(array( 'phpDocString' => '/** * Save a harvest state. * * @param string $set Set being harvested * @param string $token Current resumption token * @param string $startDate Start date of harvest * * @return void */', 'nameScope' => PHPStan\Analyser\NameScope::__set_state(array( 'namespace' => 'VuFindHarvest\\OaiPmh', 'uses' => array ( ), 'className' => 'VuFindHarvest\\OaiPmh\\StateManager', 'functionName' => 'saveState', 'templateTypeMap' => PHPStan\Type\Generic\TemplateTypeMap::__set_state(array( 'types' => array ( ), )), 'typeAliasesMap' => array ( ), 'bypassTypeAliases' => false, )), )), ), ));