File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 "php" : " ~8.3.0 || ~8.4.0" ,
2121 "league/csv" : " ^9.22" ,
2222 "nesbot/carbon" : " ^3.8.4" ,
23- "pimcore/static-resolver-bundle" : " ^3.2 .0" ,
23+ "pimcore/static-resolver-bundle" : " ^3.3 .0" ,
2424 "pimcore/generic-data-index-bundle" : " ^2.2.0" ,
2525 "pimcore/pimcore" : " ^12.3" ,
2626 "zircote/swagger-php" : " ^4.8 || ^5.0" ,
Original file line number Diff line number Diff line change 1515
1616use Pimcore \Bundle \StaticResolverBundle \Lib \ToolResolverInterface ;
1717use Pimcore \Bundle \StaticResolverBundle \Lib \Tools \AdminResolverInterface ;
18+ use Pimcore \Bundle \StaticResolverBundle \Lib \VersionResolverInterface ;
1819use Pimcore \SystemSettingsConfig ;
1920use Symfony \Component \DependencyInjection \Attribute \AutoconfigureTag ;
2021use function ini_get ;
3031 public function __construct (
3132 SystemSettingsConfig $ systemSettingsConfig ,
3233 private AdminResolverInterface $ adminResolver ,
33- private ToolResolverInterface $ toolResolver
34+ private ToolResolverInterface $ toolResolver ,
35+ private VersionResolverInterface $ versionResolver
3436 ) {
3537 $ this ->systemSettings = $ systemSettingsConfig ->getSystemSettingsConfig ();
3638 }
@@ -46,6 +48,8 @@ public function getSettings(): array
4648 'debug_admin_translations ' => (bool )$ this ->systemSettings ['general ' ]['debug_admin_translations ' ],
4749 'main_domain ' => $ this ->systemSettings ['general ' ]['domain ' ],
4850 'upload_max_filesize ' => $ this ->getUploadMaxFilesize (),
51+ 'platform_version ' => $ this ->versionResolver ->getPlatformVersion (),
52+ 'version ' => $ this ->versionResolver ->getVersion (),
4953 ];
5054 }
5155
You can’t perform that action at this time.
0 commit comments