1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/13904] Use factory instead of container and add factory to services

PHPBB3-13904
This commit is contained in:
Marc Alexander
2015-08-14 09:13:27 +02:00
parent f32a94ae5d
commit eb11973ea8
2 changed files with 18 additions and 12 deletions

View File

@@ -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