public function get($recordingId)
    {
        if (ArrayOperations::checkNull([$recordingId])) {
            throw
            new PlivoValidationException(
                'recording id is mandatory');
        }

        $response = $this->client->fetch(
            $this->uri . $recordingId .'/',
            []
        );

        return new Recording(
            $this->client, $response->getContent(),
            $this->pathParams['authId']);
    }
public function get($recordingId)
    {
        if (ArrayOperations::checkNull([$recordingId])) {
            throw
            new PlivoValidationException(
                'recording id is mandatory');
        }

        $response = $this->client->fetch(
            $this->uri . $recordingId .'/',
            []
        );

        return new Recording(
            $this->client, $response->getContent(),
            $this->pathParams['authId']);
    }
public function get ( $ recordingId ) { if ( ArrayOperations :: checkNull ( [ $ recordingId ] ) ) { throw new PlivoValidationException ( 'recording id is mandatory' ) ; } $ response = $ this -> client -> fetch ( $ this -> uri . $ recordingId . '/' , [ ] ) ; return new Recording ( $ this -> client , $ response -> getContent ( ) , $ this -> pathParams [ 'authId' ] ) ; }
Return a recording instance

@param $recordingId
@return Recording
@throws PlivoValidationException
Return a recording instance