I'm looking at the docs for the voice broadcasts (https://github.com/CallFire/CallFire-PHP-SDK/blob/1.1/docs/en/broadcasts/02.voice.md) and it looks out of date. Specifically, this line:
$request->setData(base64_encode(file_get_contents('hello_world.mp3')));
It doesn't work because there is no setData() method. It was removed in the last commit. Also, this line:
if(!($result instanceof Response\Resource) || !($soundMeta = $resource->getResource())) {
It won't work either because the $resource variable does not exist. Where is this supposed to come from?
Also, if you go to the api docs for the CreateSound class (http://callfire.github.io/CallFire-PHP-SDK/classes/CallFire.Api.Rest.Request.CreateSound.html) it still shows the getDate() method.
Do you have another example someplace that works? Should I not be using version 1.1.5?
I'm looking at the docs for the voice broadcasts (https://github.com/CallFire/CallFire-PHP-SDK/blob/1.1/docs/en/broadcasts/02.voice.md) and it looks out of date. Specifically, this line:
$request->setData(base64_encode(file_get_contents('hello_world.mp3')));
It doesn't work because there is no setData() method. It was removed in the last commit. Also, this line:
if(!($result instanceof Response\Resource) || !($soundMeta = $resource->getResource())) {
It won't work either because the $resource variable does not exist. Where is this supposed to come from?
Also, if you go to the api docs for the CreateSound class (http://callfire.github.io/CallFire-PHP-SDK/classes/CallFire.Api.Rest.Request.CreateSound.html) it still shows the getDate() method.
Do you have another example someplace that works? Should I not be using version 1.1.5?