}
/**
- * Register the shutdown handler.
- *
- * @param array $shutdown The shutdown function.
- */
- public function registerShutdown($shutdown)
- {
- register_shutdown_function($shutdown);
- }
-
- /**
* Get the class names of the task classes that need to be performed.
*
* @return array An array of class names.
$this->_createTaskList();
}
- $this->_backend->registerShutdown(array($this, 'shutdown'));
+ register_shutdown_function(array($this, 'shutdown'));
}
/**
abstract public function storeTasklistInCache($tasklist);
/**
- * Register the shutdown handler.
- *
- * @param array $shutdown The shutdown function.
- */
- abstract public function registerShutdown($shutdown);
-
- /**
* Get the class names of the task classes that need to be performed.
*
* @return array An array of class names.
$this->_tasklistCache = $tasklist;
}
- public function registerShutdown($shutdown)
- {
- }
-
public function getTasks()
{
return $this->_tasklist;