yii\sphinx\ActiveRecord::fetchSnippet PHP Method

fetchSnippet() protected method

Builds up the snippet value from the given query.
protected fetchSnippet ( string $match, array $options = [] ) : string
$match string the full-text query to build snippets for.
$options array list of options in format: optionName => optionValue
return string snippet value.
    protected function fetchSnippet($match, $options = [])
    {
        return static::callSnippets($this->getSnippetSource(), $match, $options);
    }