mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-18 14:31:19 +02:00
[ticket/13740] CLI installer and fixes
[ci skip] PHPBB3-13740
This commit is contained in:
committed by
Mate Bartus
parent
524b98e7bd
commit
06f4ebce1b
@@ -0,0 +1,44 @@
|
||||
services:
|
||||
console.installer.command_collection:
|
||||
class: phpbb\di\service_collection
|
||||
arguments:
|
||||
- @service_container
|
||||
tags:
|
||||
- { name: service_collection, tag: console.installer.command }
|
||||
|
||||
console.installer.command.install:
|
||||
class: phpbb\install\console\command\install\install
|
||||
arguments:
|
||||
- @language
|
||||
- @installer.helper.iohandler_factory
|
||||
- @installer.installer.install
|
||||
tags:
|
||||
- { name: console.installer.command }
|
||||
|
||||
console.installer.command.config.default:
|
||||
class: phpbb\install\console\command\install\config\default_config
|
||||
arguments:
|
||||
- @language
|
||||
- @installer.helper.iohandler_factory
|
||||
- @installer.installer.install
|
||||
tags:
|
||||
- { name: console.installer.command }
|
||||
|
||||
console.installer.command.config.show:
|
||||
class: phpbb\install\console\command\install\config\show
|
||||
arguments:
|
||||
- @language
|
||||
- @installer.helper.iohandler_factory
|
||||
- @installer.installer.install
|
||||
tags:
|
||||
- { name: console.installer.command }
|
||||
|
||||
|
||||
console.installer.command.config.validate:
|
||||
class: phpbb\install\console\command\install\config\validate
|
||||
arguments:
|
||||
- @language
|
||||
- @installer.helper.iohandler_factory
|
||||
- @installer.installer.install
|
||||
tags:
|
||||
- { name: console.installer.command }
|
@@ -1,4 +1,5 @@
|
||||
imports:
|
||||
- { resource: services_install_console.yml }
|
||||
- { resource: services_install_controller.yml }
|
||||
- { resource: services_install_data.yml }
|
||||
- { resource: services_install_database.yml }
|
||||
@@ -40,6 +41,10 @@ services:
|
||||
- @request
|
||||
- @template
|
||||
|
||||
installer.helper.iohandler_cli:
|
||||
class: phpbb\install\helper\iohandler\cli_iohandler
|
||||
parent: installer.helper.iohandler_abstract
|
||||
|
||||
installer.helper.iohandler:
|
||||
class: phpbb\install\helper\iohandler\iohandler_interface
|
||||
factory: ["@installer.helper.iohandler_factory", get]
|
||||
|
Reference in New Issue
Block a user