Slide 24
Slide 24 text
namespace Notifier\Service;
use Notifier\Service;
use Endroid\Twitter\Twitter as Client;
class Twitter implements Service
{
private $client;
private $new = false;
private $since = null;
public function __construct($consumerKey, $consumerSecret, $accessToken, $accessTokenSecret)
{
$this->client = new Client(
$consumerKey, $consumerSecret,
$accessToken, $accessTokenSecret
);
}
}