public function getLive($liveCallUuid)
    {
        if (ArrayOperations::checkNull([$liveCallUuid])) {
            throw
            new PlivoValidationException(
                'live call uuid is mandatory');
        }

        $params = ['status' => 'live'];

        $response = $this->client->fetch(
            $this->uri . $liveCallUuid . '/',
            $params
        );

        return new CallLive(
            $this->client,
            $response->getContent(),
            $this->pathParams['authId']);
    }
public function getLive($liveCallUuid)
    {
        if (ArrayOperations::checkNull([$liveCallUuid])) {
            throw
            new PlivoValidationException(
                'live call uuid is mandatory');
        }

        $params = ['status' => 'live'];

        $response = $this->client->fetch(
            $this->uri . $liveCallUuid . '/',
            $params
        );

        return new CallLive(
            $this->client,
            $response->getContent(),
            $this->pathParams['authId']);
    }
public function getLive ( $ liveCallUuid ) { if ( ArrayOperations :: checkNull ( [ $ liveCallUuid ] ) ) { throw new PlivoValidationException ( 'live call uuid is mandatory' ) ; } $ params = [ 'status' => 'live' ] ; $ response = $ this -> client -> fetch ( $ this -> uri . $ liveCallUuid . '/' , $ params ) ; return new CallLive ( $ this -> client , $ response -> getContent ( ) , $ this -> pathParams [ 'authId' ] ) ; }
Get details of a live call

@param string $liveCallUuid
@return CallLive
@throws PlivoValidationException
Get details of a live call