public function getSounds()
    {
        $uri = 'sounds';
        $response = $this->client->getEndpoint()->get($uri);

        $sounds = [];
        foreach (\GuzzleHttp\json_decode($response->getBody()) as $sound) {
            $sounds[] = new Sound($sound);
        }

        return $sounds;
    }
public function getSounds()
    {
        $uri = 'sounds';
        $response = $this->client->getEndpoint()->get($uri);

        $sounds = [];
        foreach (\GuzzleHttp\json_decode($response->getBody()) as $sound) {
            $sounds[] = new Sound($sound);
        }

        return $sounds;
    }
public function getSounds ( ) { $ uri = 'sounds' ; $ response = $ this -> client -> getEndpoint ( ) -> get ( $ uri ) ; $ sounds = [ ] ; foreach ( \ GuzzleHttp \ json_decode ( $ response -> getBody ( ) ) as $ sound ) { $ sounds [ ] = new Sound ( $ sound ) ; } return $ sounds ; }
List all sounds.

@return Sound[]
List all sounds .