You are here

public static function Reader::reset in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-feed/src/Reader/Reader.php \Zend\Feed\Reader\Reader::reset()

Reset class state to defaults

Return value

void

File

vendor/zendframework/zend-feed/src/Reader/Reader.php, line 615

Class

Reader

Namespace

Zend\Feed\Reader

Code

public static function reset() {
  static::$cache = null;
  static::$httpClient = null;
  static::$httpMethodOverride = false;
  static::$httpConditionalGet = false;
  static::$extensionManager = null;
  static::$extensions = [
    'feed' => [
      'DublinCore\\Feed',
      'Atom\\Feed',
    ],
    'entry' => [
      'Content\\Entry',
      'DublinCore\\Entry',
      'Atom\\Entry',
    ],
    'core' => [
      'DublinCore\\Feed',
      'Atom\\Feed',
      'Content\\Entry',
      'DublinCore\\Entry',
      'Atom\\Entry',
    ],
  ];
}