TijsVerkoyen\Twitter\Twitter::__construct PHP Метод

__construct() публичный Метод

Default constructor
public __construct ( string $consumerKey, string $consumerSecret )
$consumerKey string The consumer key to use.
$consumerSecret string The consumer secret to use.
    public function __construct($consumerKey, $consumerSecret)
    {
        $this->setConsumerKey($consumerKey);
        $this->setConsumerSecret($consumerSecret);
    }
Twitter