You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
517 B
20 lines
517 B
<?php namespace TomLingham\Searchy\Matchers;
|
|
|
|
/**
|
|
* Matches an exact string and applies a high multiplier to bring any exact matches to the top
|
|
* When sanitize is on, if the expression strips some of the characters from the search query
|
|
* then this may not be able to match against a string despite entering in an exact match.
|
|
*
|
|
* Class ExactMatcher
|
|
* @package TomLingham\Searchy\Matchers
|
|
*/
|
|
|
|
class ExactMatcher extends BaseMatcher
|
|
{
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
protected $operator = '=';
|
|
|
|
}
|