@@ -13,17 +13,17 @@ |
||
| 13 | 13 | { |
| 14 | 14 | |
| 15 | 15 | /** |
| 16 | - * Constructor. |
|
| 17 | - * |
|
| 18 | - * @param \phpbb\path_helper $path_helper |
|
| 19 | - * @param \phpbb\config\config $config |
|
| 20 | - * @param \phpbb\template\context $context template context |
|
| 21 | - * @param \phpbb\template\twig\environment $twig_environment |
|
| 22 | - * @param string $cache_path |
|
| 23 | - * @param \phpbb\user|null $user |
|
| 24 | - * @param array|\ArrayAccess $extensions |
|
| 25 | - * @param \phpbb\extension\manager $extension_manager extension manager, if null then template events will not be invoked |
|
| 26 | - */ |
|
| 16 | + * Constructor. |
|
| 17 | + * |
|
| 18 | + * @param \phpbb\path_helper $path_helper |
|
| 19 | + * @param \phpbb\config\config $config |
|
| 20 | + * @param \phpbb\template\context $context template context |
|
| 21 | + * @param \phpbb\template\twig\environment $twig_environment |
|
| 22 | + * @param string $cache_path |
|
| 23 | + * @param \phpbb\user|null $user |
|
| 24 | + * @param array|\ArrayAccess $extensions |
|
| 25 | + * @param \phpbb\extension\manager $extension_manager extension manager, if null then template events will not be invoked |
|
| 26 | + */ |
|
| 27 | 27 | public function __construct(\phpbb\path_helper $path_helper, $config, \phpbb\template\context $context, \phpbb\template\twig\environment $twig_environment, $cache_path, \phpbb\user $user = null, $extensions = array(), \phpbb\extension\manager $extension_manager = null) |
| 28 | 28 | { |
| 29 | 29 | $this->path_helper = $path_helper; |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | * |
| 23 | 23 | * @param \phpbb\language\language $language Language object |
| 24 | 24 | * @param \blitze\content\services\action_handler $action_handler Handles actions |
| 25 | - */ |
|
| 25 | + */ |
|
| 26 | 26 | public function __construct(\phpbb\language\language $language, \blitze\content\services\action_handler $action_handler) |
| 27 | 27 | { |
| 28 | 28 | $this->language = $language; |
@@ -44,7 +44,7 @@ |
||
| 44 | 44 | * @param \phpbb\controller\helper $helper Helper object |
| 45 | 45 | * @param \phpbb\user $user User object |
| 46 | 46 | * @param \blitze\content\services\types $content_types Content types object |
| 47 | - */ |
|
| 47 | + */ |
|
| 48 | 48 | public function __construct(\phpbb\auth\auth $auth, \phpbb\content_visibility $content_visibility, \phpbb\db\driver\driver_interface $db, \phpbb\controller\helper $helper, \phpbb\user $user, \blitze\content\services\types $content_types, $phpbb_root_path, $php_ext) |
| 49 | 49 | { |
| 50 | 50 | $this->auth = $auth; |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | * |
| 23 | 23 | * @param \phpbb\language\language $language Language object |
| 24 | 24 | * @param \blitze\content\services\action_handler $action_handler Handles actions |
| 25 | - */ |
|
| 25 | + */ |
|
| 26 | 26 | public function __construct(\phpbb\language\language $language, \blitze\content\services\action_handler $action_handler) |
| 27 | 27 | { |
| 28 | 28 | $this->language = $language; |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | * |
| 23 | 23 | * @param \phpbb\language\language $language Language object |
| 24 | 24 | * @param \blitze\content\services\action_handler $action_handler Handles actions |
| 25 | - */ |
|
| 25 | + */ |
|
| 26 | 26 | public function __construct(\phpbb\language\language $language, \blitze\content\services\action_handler $action_handler) |
| 27 | 27 | { |
| 28 | 28 | $this->language = $language; |
@@ -47,7 +47,7 @@ |
||
| 47 | 47 | * @param \blitze\sitemaker\model\mapper_factory $sitemaker_mapper_factory Sitemaker Mapper factory object |
| 48 | 48 | * @param bool $auto_refresh Used during testing |
| 49 | 49 | * @param bool $trigger_error Used during testing |
| 50 | - */ |
|
| 50 | + */ |
|
| 51 | 51 | public function __construct(\phpbb\cache\driver\driver_interface $cache, \phpbb\language\language $language, \phpbb\request\request_interface $request, \blitze\content\services\types $content_types, \blitze\sitemaker\services\forum\manager $forum_manager, \blitze\content\model\mapper_factory $content_mapper_factory, \blitze\sitemaker\model\mapper_factory $sitemaker_mapper_factory, $auto_refresh = true, $trigger_error = true) |
| 52 | 52 | { |
| 53 | 53 | $this->cache = $cache; |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | * @param \phpbb\language\language $language Language Object |
| 29 | 29 | * @param \phpbb\template\template $template Template object |
| 30 | 30 | * @param \blitze\content\services\types $content_types Content types object |
| 31 | - */ |
|
| 31 | + */ |
|
| 32 | 32 | public function __construct(\phpbb\language\language $language, \phpbb\template\template $template, \blitze\content\services\types $content_types) |
| 33 | 33 | { |
| 34 | 34 | $this->language = $language; |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | * @param \blitze\content\services\types $content_types Content types object |
| 31 | 31 | * @param \blitze\content\model\mapper_factory $mapper_factory Mapper factory object |
| 32 | 32 | * @param boolean $redirect Used for testing |
| 33 | - */ |
|
| 33 | + */ |
|
| 34 | 34 | public function __construct(\phpbb\cache\driver\driver_interface $cache, \blitze\content\services\types $content_types, \blitze\content\model\mapper_factory $mapper_factory, $redirect = true) |
| 35 | 35 | { |
| 36 | 36 | $this->cache = $cache; |
@@ -44,7 +44,7 @@ |
||
| 44 | 44 | * @param string $phpbb_root_path Path to the phpbb includes directory. |
| 45 | 45 | * @param string $relative_admin_path Relative admin root path |
| 46 | 46 | * @param string $php_ext php file extension |
| 47 | - */ |
|
| 47 | + */ |
|
| 48 | 48 | public function __construct(\phpbb\controller\helper $controller_helper, \phpbb\language\language $language, \phpbb\template\template $template, \blitze\content\services\types $content_types, $phpbb_root_path, $relative_admin_path, $php_ext) |
| 49 | 49 | { |
| 50 | 50 | $this->controller_helper = $controller_helper; |