File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 1212use OCP \App \IAppManager ;
1313use OCP \AppFramework \Db \DoesNotExistException ;
1414use OCP \AppFramework \Db \MultipleObjectsReturnedException ;
15+ use OCP \IURLGenerator ;
1516use Psr \Container \ContainerExceptionInterface ;
1617use Psr \Container \NotFoundExceptionInterface ;
1718use Symfony \Component \Uid \Uuid ;
@@ -34,6 +35,8 @@ class ObjectService
3435 /** @var string $appName The name of the app */
3536 private string $ appName ;
3637
38+ private ValidationService $ validationService ;
39+
3740 /**
3841 * Constructor for ObjectService.
3942 *
@@ -59,8 +62,11 @@ public function __construct(
5962 private ContainerInterface $ container ,
6063 private readonly IAppManager $ appManager ,
6164 private readonly IAppConfig $ config ,
65+ IURLGenerator $ urlGenerator ,
6266 ) {
6367 $ this ->appName = 'opencatalogi ' ;
68+
69+ $ this ->validationService = new ValidationService (objectService: $ this , urlGenerator: $ urlGenerator );
6470 }
6571
6672 /**
You can’t perform that action at this time.
0 commit comments