Property | Type | Description | |
---|---|---|---|
$apiKey | string | Google GCM API key | |
$apiURL | string | GCM endpoint | |
$browser | Buzz\Browser | Browser object | |
$logger | Psr\Log\LoggerInterface | Monolog logger | |
$registrationIdMaxCount | integer | Max registration count | |
$responses | array | Collection of the responses from the GCM communication | |
$useDryRun | boolean | Whether or not to use the dry run GCM |
Method | Description | |
---|---|---|
__construct ( string $apiKey, boolean $useMultiCurl, integer $timeout, Psr\Log\LoggerInterface $logger, Buzz\Client\AbstractCurl $client = null, boolean $dryRun = false ) | Constructor | |
getResponses ( ) : array | Returns responses | |
send ( RMS\PushNotificationsBundle\Message\MessageInterface $message ) : boolean | Sends the data to the given registration IDs via the GCM server |
public __construct ( string $apiKey, boolean $useMultiCurl, integer $timeout, Psr\Log\LoggerInterface $logger, Buzz\Client\AbstractCurl $client = null, boolean $dryRun = false ) | ||
$apiKey | string | |
$useMultiCurl | boolean | |
$timeout | integer | |
$logger | Psr\Log\LoggerInterface | |
$client | Buzz\Client\AbstractCurl | (optional) |
$dryRun | boolean |
protected LoggerInterface,Psr\Log $logger | ||
return | Psr\Log\LoggerInterface |
protected int $registrationIdMaxCount | ||
return | integer |
protected array $responses | ||
return | array |
protected bool $useDryRun | ||
return | boolean |