App\Http\Controllers\TwitterController::searchForTweets PHP 메소드

searchForTweets() 개인적인 메소드

Search for tweets based on a search query
private searchForTweets ( string $item ) : Collection
$item string
리턴 Collection
    private function searchForTweets($item)
    {
        return Twitter::getSearch(['q' => $item, 'count' => 4, 'format' => 'json']);
    }