public function __construct() { parent::__construct(); $this->errorTypes = error_reporting(); register_shutdown_function(array($this, 'fatalErrorHandler')); $this->addMethod('getNextId', $this, '#', array('simple' => true)); }
public function __construct($uriList = null, $async = true) { parent::__construct(); if ($uriList != null) { $this->setUriList($uriList); if (is_bool($uriList)) { $async = $uriList; } } $this->async = $async; }