Skip to content

Outdated documentation #22

Description

@circmark

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions