We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 104e5ff + 7170629 commit c66d6f7Copy full SHA for c66d6f7
src/Plugin.php
@@ -0,0 +1,25 @@
1
+<?php
2
+
3
+declare(strict_types=1);
4
5
+namespace CakeDC\SearchFilter;
6
7
+/**
8
+ * @deprecated 5.3.0 This class will be removed in a future version of CakePHP
9
+ * Use \CakeDC\SearchFilter\SearchFilterPlugin instead.
10
+ */
11
+class Plugin extends SearchFilterPlugin
12
+{
13
+ /**
14
+ * @param array $config Plugin configuration.
15
16
+ public function __construct(array $config = [])
17
+ {
18
+ deprecationWarning(
19
+ '5.3.0',
20
+ 'The `Plugin` class is deprecated. Use `\CakeDC\SearchFilter\SearchFilterPlugin` instead ' .
21
+ 'to comply with CakePHP 5.3+ naming conventions.'
22
+ );
23
+ parent::__construct($config);
24
+ }
25
+}
0 commit comments