mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[feature/dic] Add docblock for cron_manager::wrap_task()
PHPBB3-10739
This commit is contained in:
parent
4f0f63ae8f
commit
fd9fd71a88
1 changed files with 6 additions and 0 deletions
|
@ -125,6 +125,12 @@ class phpbb_cron_manager
|
||||||
return null;
|
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)
|
public function wrap_task(phpbb_cron_task $task)
|
||||||
{
|
{
|
||||||
return new phpbb_cron_task_wrapper($task, $this->phpbb_root_path, $this->php_ext);
|
return new phpbb_cron_task_wrapper($task, $this->phpbb_root_path, $this->php_ext);
|
||||||
|
|
Loading…
Add table
Reference in a new issue