Permalink
Browse files

update conference example

  • Loading branch information...
1 parent 122a254 commit 97bba878feef7f30de3a4cccfe1d88e380b322d5 Kevin Burke committed Jul 23, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 docs/usage/rest/conferences.rst
@@ -33,8 +33,10 @@ Mute all participants
.. code-block:: php
- $sid = "CO119231312"
+ $sid = "CO119231312";
$client = new Services_Twilio('AC123', '123');
- foreach ($client->account->conferences->get($sid)->participants as $p) {
+ $conference = $client->account->conferences->get($sid);
+ $participants = $conference->getPage(0, 50);
+ foreach ($participants as $p) {
$p->mute();
}

0 comments on commit 97bba87

Please sign in to comment.