/** * Constructor * @param str $oauth_token * @param str $oauth_token_secret * @param str $oauth_consumer_key * @param str $oauth_consumer_secret * @param Instance $instance * @param int $archive_limit * @param int $num_twitter_errors * @param int $max_api_calls_per_crawl * @return CrawlerTwitterAPIAccessorOAuth */ public function __construct($oauth_token, $oauth_token_secret, $oauth_consumer_key, $oauth_consumer_secret, $instance, $archive_limit, $num_twitter_errors, $max_api_calls_per_crawl) { parent::__construct($oauth_token, $oauth_token_secret, $oauth_consumer_key, $oauth_consumer_secret, $num_twitter_errors, $max_api_calls_per_crawl); $this->api_calls_to_leave_unmade_per_minute = $instance->api_calls_to_leave_unmade_per_minute; $this->archive_limit = $archive_limit; }
/** * Constructor * @param str $oauth_token * @param str $oauth_token_secret * @param str $oauth_consumer_key * @param str $oauth_consumer_secret * @param Instance $instance * @param int $archive_limit * @param int $num_twitter_errors * @return CrawlerTwitterAPIAccessorOAuth */ public function __construct($oauth_token, $oauth_token_secret, $oauth_consumer_key, $oauth_consumer_secret, $archive_limit, $num_twitter_errors) { parent::__construct($oauth_token, $oauth_token_secret, $oauth_consumer_key, $oauth_consumer_secret, $num_twitter_errors); $this->archive_limit = $archive_limit; self::initializeEndpointRateLimits(); }
public function __construct($oauth_token, $oauth_token_secret, $oauth_consumer_key, $oauth_consumer_secret, $instance, $archive_limit) { parent::__construct($oauth_token, $oauth_token_secret, $oauth_consumer_key, $oauth_consumer_secret); $this->api_calls_to_leave_unmade_per_minute = $instance->api_calls_to_leave_unmade_per_minute; $this->archive_limit = $archive_limit; }