Skip to content

Commit

Permalink
Update response.md
Browse files Browse the repository at this point in the history
This should avoid any confusion whatsoever. /cc #26
  • Loading branch information
Jim Schmid committed Jul 14, 2013
1 parent bff5b86 commit 60e1768
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Resources/doc/response.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ class UploadListener
The `UploaderResponse` class implements the `ArrayAccess` interface, so you can just add data using it like an array:

```php
$response['id'] = $id;
$response['url'] = $url;
$response['key'] = 'value';
$response['foo'] = 'bar';
```

If you like to indicate an error, be sure to set the `success` property to `false` and provide an error message:
Expand Down

0 comments on commit 60e1768

Please sign in to comment.