1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-09 10:16:36 +02:00

[ticket/16944] Generate iconify bundle as needed via icons & assets bag

PHPBB3-16944
This commit is contained in:
Marc Alexander
2023-11-12 15:04:01 +01:00
parent bd6cd8f2fc
commit 0434bce5af
15 changed files with 139 additions and 225 deletions

View File

@@ -1,8 +1,12 @@
services:
assets.bag:
class: phpbb\template\assets_bag
shared: false
arguments:
- '@assets.iconify_bundler'
assets.iconify_bundler:
class: phpbb\assets\iconify_bundler
shared: false
arguments:
- '@dbal.conn'
- '@ext.manager'
- '@log'
- '%core.root_path%'

View File

@@ -5,6 +5,7 @@ services:
template.twig.environment:
class: phpbb\template\twig\environment
arguments:
- '@assets.bag'
- '@config'
- '@filesystem'
- '@path_helper'