[feature/dic] Add docblock for cron_manager::wrap_task()

PHPBB3-10739
This commit is contained in:
Igor Wiedler 2012-08-25 16:54:30 +02:00
parent 4f0f63ae8f
commit fd9fd71a88

View file

@ -125,6 +125,12 @@ class phpbb_cron_manager
return null;
}
/**
* Wraps a task inside an instance of phpbb_cron_task_wrapper.
*
* @param phpbb_cron_task $task The task.
* @return phpbb_cron_task_wrapper The wrapped task.
*/
public function wrap_task(phpbb_cron_task $task)
{
return new phpbb_cron_task_wrapper($task, $this->phpbb_root_path, $this->php_ext);