1
0
mirror of https://github.com/flarum/core.git synced 2025-10-17 17:56:14 +02:00
Files
php-flarum/src/Core/Search/Gambit.php
2015-07-05 12:30:23 +09:30

14 lines
360 B
PHP

<?php namespace Flarum\Core\Search;
interface Gambit
{
/**
* Apply conditions to the searcher for a bit of the search string.
*
* @param Search $search
* @param string $bit The piece of the search string.
* @return bool Whether or not the gambit was active for this bit.
*/
public function apply(Search $search, $bit);
}