ZhukV/AppleApnPush — pull request #7 by popthestack (2013-06-13 13:47:15+00:00)
Title: Add Apple push notification feedback service

Implemented the Apple push notification feedback service. Tried to implement it in a way that seemed consistent with the rest of the library. Can make modifications if you think something needs tweaking.

Usage:

```php
use Apple\ApnPush\Connection;
use Apple\ApnPush\Feedback;

$connection = new Connection\Feedback($certificate, $passphrase, $sandbox);
$feedback = new Feedback\Service($connection);

$devices = $feedback->getInvalidDevices();
```

`$devices` is an array of Feedback\Device:

Array
(
[0] => Apple\ApnPush\Feedback\Device Object
(
[timestamp:protected] => 1371130770
[tokenLength:protected] => 32
[deviceToken:protected] => afafafafafafafafafafafafafafafafafafafafafafafafafafafafafafafaf
)

)