App\Http\Controllers\TwitterController::getLatestTweets PHP Méthode

getLatestTweets() private méthode

Get the latest tweets on a user timeline
private getLatestTweets ( ) : Collection
Résultat Collection
    private function getLatestTweets()
    {
        return Twitter::getHomeTimeline(['count' => 2, 'format' => 'json']);
    }