Owl\Repositories\Eloquent\ItemFtsRepository::toNgram PHP Méthode

toNgram() public méthode

Convert String into N-Gramed string.
public toNgram ( string $title, text $body ) : string
$title string
$body text
Résultat string
    public function toNgram($title, $body)
    {
        return FtsUtils::toNgram($title . "\n\n" . $body);
    }