Files
laravel-searchy/src/TomLingham/Searchy/Matchers/ExactMatcher.php
2015-02-18 23:10:59 +11:00

20 lines
517 B
PHP
Executable File

<?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 = '=';
}