File tree Expand file tree Collapse file tree 2 files changed +3
-19
lines changed
Model/DefaultSearch/Debug Expand file tree Collapse file tree 2 files changed +3
-19
lines changed Original file line number Diff line number Diff line change 2323 */
2424final class SearchInformation
2525{
26- // ToDo make constants public in 2.0
27- public const VERBOSITY_VERBOSE = 2 ;
26+ private const VERBOSITY_VERBOSE = 2 ;
2827
29- public const VERBOSITY_VERY_VERBOSE = 3 ;
28+ private const VERBOSITY_VERY_VERBOSE = 3 ;
3029
3130 public function __construct (
3231 private readonly AdapterSearchInterface $ search ,
Original file line number Diff line number Diff line change 1717namespace Pimcore \Bundle \GenericDataIndexBundle ;
1818
1919use Pimcore \Bundle \ElasticsearchClientBundle \PimcoreElasticsearchClientBundle ;
20- use Pimcore \Bundle \GenericDataIndexBundle \Attribute \OpenSearch \AsSearchModifierHandler ;
21- use Pimcore \Bundle \GenericDataIndexBundle \Attribute \Search \AsSearchModifierHandler as SearchModifierHandler ;
20+ use Pimcore \Bundle \GenericDataIndexBundle \Attribute \Search \AsSearchModifierHandler ;
2221use Pimcore \Bundle \GenericDataIndexBundle \DependencyInjection \Compiler \SearchModifierHandlerPass ;
2322use Pimcore \Bundle \GenericDataIndexBundle \DependencyInjection \Compiler \ServiceLocatorPass ;
2423use Pimcore \Bundle \GenericDataIndexBundle \Enum \DependencyInjection \ServiceTag ;
@@ -70,20 +69,6 @@ public static function registerDependentBundles(BundleCollection $collection): v
7069
7170 private function registerSearchModifierAttribute (ContainerBuilder $ container ): void
7271 {
73- $ container ->registerAttributeForAutoconfiguration (
74- SearchModifierHandler::class,
75- static function (
76- ChildDefinition $ definition ,
77- SearchModifierHandler $ attribute ,
78- Reflector $ reflector
79- ): void {
80- self ::configureSearchModifierHandler ($ definition , $ reflector );
81- }
82- );
83-
84- /**
85- * @TODO Remove this in version 2.0
86- */
8772 $ container ->registerAttributeForAutoconfiguration (
8873 AsSearchModifierHandler::class,
8974 static function (
You can’t perform that action at this time.
0 commit comments