Updating some terminology and variable names. Also updated readme to include more information about extending the package and fixed some spelling errors

This commit is contained in:
Tom Lingham
2014-07-14 23:28:43 +10:00
parent 4f402d2718
commit 5b9c8a29cb
14 changed files with 138 additions and 90 deletions

View File

@ -18,15 +18,11 @@ class StartOfWordsMatcher extends BaseMatcher
protected $operator = 'LIKE';
/**
* @var int
*/
protected $multiplier = 35;
/**
* @param $searchString
* @return string
*/
public function formatSearchString( $searchString ) {
public function formatSearchString( $searchString )
{
return implode('% ', explode(' ', $searchString)) . '%';
}
}