public function getObject($configClass, $objectType, $id)
    {
        $uri = "asterisk/config/dynamic/$configClass/$objectType/$id";

        try {
            $response = $this->client->getEndpoint()->get($uri);
        } catch (RequestException $e) {
            $this->processRequestException($e);
        }

        $configTuples = [];
        foreach (\GuzzleHttp\json_decode($response->getBody()) as $configTuple) {
            $configTuples[] = new ConfigTuple($configTuple);
        }

        return $configTuples;
    }
public function getObject($configClass, $objectType, $id)
    {
        $uri = "asterisk/config/dynamic/$configClass/$objectType/$id";

        try {
            $response = $this->client->getEndpoint()->get($uri);
        } catch (RequestException $e) {
            $this->processRequestException($e);
        }

        $configTuples = [];
        foreach (\GuzzleHttp\json_decode($response->getBody()) as $configTuple) {
            $configTuples[] = new ConfigTuple($configTuple);
        }

        return $configTuples;
    }
public function getObject ( $ configClass , $ objectType , $ id ) { $ uri = "asterisk/config/dynamic/$configClass/$objectType/$id" ; try { $ response = $ this -> client -> getEndpoint ( ) -> get ( $ uri ) ; } catch ( RequestException $ e ) { $ this -> processRequestException ( $ e ) ; } $ configTuples = [ ] ; foreach ( \ GuzzleHttp \ json_decode ( $ response -> getBody ( ) ) as $ configTuple ) { $ configTuples [ ] = new ConfigTuple ( $ configTuple ) ; } return $ configTuples ; }
Retrieve a dynamic configuration object.

@param string $configClass The configuration class containing dynamic configuration objects.
@param string $objectType The type of configuration object to retrieve.
@param string $id The unique identifier of the object to retrieve.
@return ConfigTuple[]
@throws NotFoundException
Retrieve a dynamic configuration object .