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:
@@ -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
|
||||
|
Reference in New Issue
Block a user