diff options
author | Marc Alexander <admin@m-a-styles.de> | 2015-08-14 09:13:27 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2015-09-09 08:27:45 +0200 |
commit | eb11973ea8af41623a9e6e6c320cb1fb0df7a222 (patch) | |
tree | 9d2388a4d74b1fc83e4fd58b9caf33e46ca509c3 /phpBB/config | |
parent | f32a94ae5d5df156cc33e34a98d9a2e92385c393 (diff) | |
download | forums-eb11973ea8af41623a9e6e6c320cb1fb0df7a222.tar forums-eb11973ea8af41623a9e6e6c320cb1fb0df7a222.tar.gz forums-eb11973ea8af41623a9e6e6c320cb1fb0df7a222.tar.bz2 forums-eb11973ea8af41623a9e6e6c320cb1fb0df7a222.tar.xz forums-eb11973ea8af41623a9e6e6c320cb1fb0df7a222.zip |
[ticket/13904] Use factory instead of container and add factory to services
PHPBB3-13904
Diffstat (limited to 'phpBB/config')
-rw-r--r-- | phpBB/config/default/container/services_files.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/config/default/container/services_files.yml b/phpBB/config/default/container/services_files.yml index cd27d0745c..8f3357022c 100644 --- a/phpBB/config/default/container/services_files.yml +++ b/phpBB/config/default/container/services_files.yml @@ -2,6 +2,11 @@ services: filesystem: class: phpbb\filesystem\filesystem + files.factory: + class: phpbb\files\factory + arguments: + - @service_container + files.filespec: class: phpbb\files\filespec scope: prototype @@ -15,3 +20,4 @@ services: scope: prototype arguments: - @filesystem + - @files.factory |