Switch to PSR-4, fix CS and update service provider
This commit is contained in:
15
src/SearchDrivers/SimpleSearchDriver.php
Executable file
15
src/SearchDrivers/SimpleSearchDriver.php
Executable file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace TomLingham\Searchy\SearchDrivers;
|
||||
|
||||
class SimpleSearchDriver extends BaseSearchDriver
|
||||
{
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
protected $matchers = [
|
||||
'TomLingham\Searchy\Matchers\ExactMatcher' => 100,
|
||||
'TomLingham\Searchy\Matchers\StartOfStringMatcher' => 50,
|
||||
'TomLingham\Searchy\Matchers\InStringMatcher' => 30,
|
||||
];
|
||||
}
|
Reference in New Issue
Block a user