laravel-google-custom-search-engine
laravel-google-custom-search-engine copied to clipboard
Call to undefined method getRawResults()
I got this error when i use getRawResults()
here's my code:
$fulltext = new LaravelGoogleCustomSearchEngine(); // initialize $results = $fulltext->getResults('Startup Funding'); // get first 10 results for query 'some phrase' $rawResults = $fulltext->getRawResults();
here's the error:
Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR) Call to undefined method JanDrda\LaravelGoogleCustomSearchEngine\LaravelGoogleCustomSearchEngine::getRawResults()
anyone knows how to fix this? Thanks in advance.
The method is actually getRawResult() without the 's'