Cake\ElasticSearch\Document::explanation PHP 메소드

explanation() 공개 메소드

If this is a new document, or the query used to create it did not ask for explanation, this function will return an empty array.
public explanation ( ) : array
리턴 array
    public function explanation()
    {
        if ($this->_result) {
            return $this->_result->getExplanation();
        }
        return [];
    }