yii\sphinx\ActiveRecord::getSnippetSource PHP Méthode

getSnippetSource() public méthode

Child classes must implement this method to return the actual snippet source text. For example: php public function getSnippetSource() { return $this->snippetSourceRelation->content; }
public getSnippetSource ( ) : string
Résultat string snippet source string.
    public function getSnippetSource()
    {
        throw new NotSupportedException($this->className() . ' does not provide snippet source.');
    }