Source of file ITwitterService.php
Size: 0,992 Bytes - Last Modified: 2021-12-24T07:11:44+00:00
/var/www/docs.ssmods.com/process/src/src/service/ITwitterService.php
1234567891011121314151617181920212223242526272829303132333435 | <?php namespace XD\Twitter\Services; /** * Interface for a twitter service * * @author Damian Mooyman * * @package twitter */ interface ITwitterService { /** * Retrieves a list of tweets, each given as an associative array with the * keys 'Date', 'User' and 'Content' * * @param string $user Name of user to search for tweets from * @param string $count Number of tweets to return * @return array Array of nested associative arrays, each representing details of a single tweet */ public function getTweets($user, $count); /** * Retrieves a list of tweets, each given as an associative array with the * keys 'Date', 'User' and 'Content' * * @param string $query Query to use for searching for tweets * @param string $count Number of tweets to return * @return array Array of nested associative arrays, each representing details of a single tweet */ public function searchTweets($query, $count); } |