@@ -943,15 +943,13 @@ private function registerWorkflowConfiguration(array $config, ContainerBuilder $
943
943
foreach ($ workflow ['transitions ' ] as $ transition ) {
944
944
if ('workflow ' === $ type ) {
945
945
$ transitionDefinition = new Definition (Workflow \Transition::class, [$ transition ['name ' ], $ transition ['from ' ], $ transition ['to ' ]]);
946
- $ transitionDefinition ->setPublic (false );
947
946
$ transitionId = sprintf ('.%s.transition.%s ' , $ workflowId , $ transitionCounter ++);
948
947
$ container ->setDefinition ($ transitionId , $ transitionDefinition );
949
948
$ transitions [] = new Reference ($ transitionId );
950
949
if (isset ($ transition ['guard ' ])) {
951
950
$ configuration = new Definition (Workflow \EventListener \GuardExpression::class);
952
951
$ configuration ->addArgument (new Reference ($ transitionId ));
953
952
$ configuration ->addArgument ($ transition ['guard ' ]);
954
- $ configuration ->setPublic (false );
955
953
$ eventName = sprintf ('workflow.%s.guard.%s ' , $ name , $ transition ['name ' ]);
956
954
$ guardsConfiguration [$ eventName ][] = $ configuration ;
957
955
}
@@ -965,15 +963,13 @@ private function registerWorkflowConfiguration(array $config, ContainerBuilder $
965
963
foreach ($ transition ['from ' ] as $ from ) {
966
964
foreach ($ transition ['to ' ] as $ to ) {
967
965
$ transitionDefinition = new Definition (Workflow \Transition::class, [$ transition ['name ' ], $ from , $ to ]);
968
- $ transitionDefinition ->setPublic (false );
969
966
$ transitionId = sprintf ('.%s.transition.%s ' , $ workflowId , $ transitionCounter ++);
970
967
$ container ->setDefinition ($ transitionId , $ transitionDefinition );
971
968
$ transitions [] = new Reference ($ transitionId );
972
969
if (isset ($ transition ['guard ' ])) {
973
970
$ configuration = new Definition (Workflow \EventListener \GuardExpression::class);
974
971
$ configuration ->addArgument (new Reference ($ transitionId ));
975
972
$ configuration ->addArgument ($ transition ['guard ' ]);
976
- $ configuration ->setPublic (false );
977
973
$ eventName = sprintf ('workflow.%s.guard.%s ' , $ name , $ transition ['name ' ]);
978
974
$ guardsConfiguration [$ eventName ][] = $ configuration ;
979
975
}
@@ -996,7 +992,6 @@ private function registerWorkflowConfiguration(array $config, ContainerBuilder $
996
992
997
993
// Create a Definition
998
994
$ definitionDefinition = new Definition (Workflow \Definition::class);
999
- $ definitionDefinition ->setPublic (false );
1000
995
$ definitionDefinition ->addArgument ($ places );
1001
996
$ definitionDefinition ->addArgument ($ transitions );
1002
997
$ definitionDefinition ->addArgument ($ initialMarking );
@@ -1049,7 +1044,6 @@ private function registerWorkflowConfiguration(array $config, ContainerBuilder $
1049
1044
if ($ workflow ['supports ' ]) {
1050
1045
foreach ($ workflow ['supports ' ] as $ supportedClassName ) {
1051
1046
$ strategyDefinition = new Definition (Workflow \SupportStrategy \InstanceOfSupportStrategy::class, [$ supportedClassName ]);
1052
- $ strategyDefinition ->setPublic (false );
1053
1047
$ registryDefinition ->addMethodCall ('addWorkflow ' , [new Reference ($ workflowId ), $ strategyDefinition ]);
1054
1048
}
1055
1049
} elseif (isset ($ workflow ['support_strategy ' ])) {
@@ -1156,7 +1150,6 @@ private function registerDebugConfiguration(array $config, ContainerBuilder $con
1156
1150
1157
1151
if ($ debug && class_exists (DebugProcessor::class)) {
1158
1152
$ definition = new Definition (DebugProcessor::class);
1159
- $ definition ->setPublic (false );
1160
1153
$ definition ->addArgument (new Reference ('request_stack ' ));
1161
1154
$ definition ->addTag ('kernel.reset ' , ['method ' => 'reset ' ]);
1162
1155
$ container ->setDefinition ('debug.log_processor ' , $ definition );
@@ -1382,7 +1375,6 @@ private function createPackageDefinition(?string $basePath, array $baseUrls, Ref
1382
1375
1383
1376
$ package = new ChildDefinition ($ baseUrls ? 'assets.url_package ' : 'assets.path_package ' );
1384
1377
$ package
1385
- ->setPublic (false )
1386
1378
->replaceArgument (0 , $ baseUrls ?: $ basePath )
1387
1379
->replaceArgument (1 , $ version )
1388
1380
;
@@ -1871,14 +1863,12 @@ private function registerSerializerConfiguration(array $config, ContainerBuilder
1871
1863
AnnotationLoader::class,
1872
1864
[new Reference ('annotation_reader ' , ContainerInterface::NULL_ON_INVALID_REFERENCE )]
1873
1865
);
1874
- $ annotationLoader ->setPublic (false );
1875
1866
1876
1867
$ serializerLoaders [] = $ annotationLoader ;
1877
1868
}
1878
1869
1879
1870
$ fileRecorder = function ($ extension , $ path ) use (&$ serializerLoaders ) {
1880
1871
$ definition = new Definition (\in_array ($ extension , ['yaml ' , 'yml ' ]) ? YamlFileLoader::class : XmlFileLoader::class, [$ path ]);
1881
- $ definition ->setPublic (false );
1882
1872
$ serializerLoaders [] = $ definition ;
1883
1873
};
1884
1874
@@ -2027,7 +2017,6 @@ private function registerSemaphoreConfiguration(array $config, ContainerBuilder
2027
2017
2028
2018
// Generate services for semaphore instances
2029
2019
$ semaphoreDefinition = new Definition (Semaphore::class);
2030
- $ semaphoreDefinition ->setPublic (false );
2031
2020
$ semaphoreDefinition ->setFactory ([new Reference ('semaphore. ' .$ resourceName .'.factory ' ), 'createSemaphore ' ]);
2032
2021
$ semaphoreDefinition ->setArguments ([$ resourceName ]);
2033
2022
@@ -2400,7 +2389,6 @@ private function registerCacheConfiguration(array $config, ContainerBuilder $con
2400
2389
2401
2390
if (method_exists (PropertyAccessor::class, 'createCache ' )) {
2402
2391
$ propertyAccessDefinition = $ container ->register ('cache.property_access ' , AdapterInterface::class);
2403
- $ propertyAccessDefinition ->setPublic (false );
2404
2392
2405
2393
if (!$ container ->getParameter ('kernel.debug ' )) {
2406
2394
$ propertyAccessDefinition ->setFactory ([PropertyAccessor::class, 'createCache ' ]);
@@ -2727,6 +2715,7 @@ private function registerNotifierConfiguration(array $config, ContainerBuilder $
2727
2715
NotifierBridge \FreeMobile \FreeMobileTransportFactory::class => 'notifier.transport_factory.free-mobile ' ,
2728
2716
NotifierBridge \GatewayApi \GatewayApiTransportFactory::class => 'notifier.transport_factory.gateway-api ' ,
2729
2717
NotifierBridge \Gitter \GitterTransportFactory::class => 'notifier.transport_factory.gitter ' ,
2718
+ NotifierBridge \GoIP \GoIPTransportFactory::class => 'notifier.transport_factory.goip ' ,
2730
2719
NotifierBridge \GoogleChat \GoogleChatTransportFactory::class => 'notifier.transport_factory.google-chat ' ,
2731
2720
NotifierBridge \Infobip \InfobipTransportFactory::class => 'notifier.transport_factory.infobip ' ,
2732
2721
NotifierBridge \Iqsms \IqsmsTransportFactory::class => 'notifier.transport_factory.iqsms ' ,
0 commit comments