First release beta

This commit is contained in:
Tom Lingham
2014-07-14 10:35:19 +10:00
parent 4c0890f936
commit 44ace92f93
20 changed files with 683 additions and 1 deletions

View File

@ -0,0 +1,24 @@
<?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 = '=';
/**
* @var int
*/
protected $multiplier = 100;
}