We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1a63514 + e235805 commit 1782a86Copy full SHA for 1782a86
src/Searchable.php
@@ -11,7 +11,6 @@
11
trait Searchable
12
{
13
use SourceSearchable {
14
- SourceSearchable::bootSearchable as sourceBootSearchable;
15
SourceSearchable::getScoutKeyName as sourceGetScoutKeyName;
16
}
17
@@ -22,29 +21,6 @@ trait Searchable
22
21
*/
23
private $highlight = null;
24
25
- /**
26
- * Defines if the model is searchable.
27
- *
28
- * @var bool
29
- */
30
- protected static $isSearchableTraitBooted = false;
31
-
32
33
- * Boot the trait.
34
35
- * @return void
36
37
- public static function bootSearchable()
38
- {
39
- if (static::$isSearchableTraitBooted) {
40
- return;
41
- }
42
43
- self::sourceBootSearchable();
44
45
- static::$isSearchableTraitBooted = true;
46
47
48
/**
49
* Get the index configurator.
50
*
0 commit comments