aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/cron
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2012-08-25 16:54:30 +0200
committerIgor Wiedler <igor@wiedler.ch>2012-08-25 16:54:30 +0200
commitfd9fd71a88fad2b33d75722587dbfc0bd100ae50 (patch)
tree176d78b1333d9563a0b3028fa280f27540df0c0c /phpBB/includes/cron
parent4f0f63ae8feb8efc70954e64bdca1f81ae98b212 (diff)
downloadforums-fd9fd71a88fad2b33d75722587dbfc0bd100ae50.tar
forums-fd9fd71a88fad2b33d75722587dbfc0bd100ae50.tar.gz
forums-fd9fd71a88fad2b33d75722587dbfc0bd100ae50.tar.bz2
forums-fd9fd71a88fad2b33d75722587dbfc0bd100ae50.tar.xz
forums-fd9fd71a88fad2b33d75722587dbfc0bd100ae50.zip
[feature/dic] Add docblock for cron_manager::wrap_task()
PHPBB3-10739
Diffstat (limited to 'phpBB/includes/cron')
-rw-r--r--phpBB/includes/cron/manager.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/includes/cron/manager.php b/phpBB/includes/cron/manager.php
index 7d2931b502..ccaa4f3764 100644
--- a/phpBB/includes/cron/manager.php
+++ b/phpBB/includes/cron/manager.php
@@ -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);