mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +02:00
[feature/dic] Add docblock for cron_manager::wrap_task()
PHPBB3-10739
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user