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

        $bridges = [];
        foreach (\GuzzleHttp\json_decode($response->getBody()) as $bridge) {
            $bridges[] = new Bridge($this->client, $bridge);
        }

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

        $bridges = [];
        foreach (\GuzzleHttp\json_decode($response->getBody()) as $bridge) {
            $bridges[] = new Bridge($this->client, $bridge);
        }

        return $bridges;
    }
public function getBridges ( ) { $ uri = 'bridges' ; $ response = $ this -> client -> getEndpoint ( ) -> get ( $ uri ) ; $ bridges = [ ] ; foreach ( \ GuzzleHttp \ json_decode ( $ response -> getBody ( ) ) as $ bridge ) { $ bridges [ ] = new Bridge ( $ this -> client , $ bridge ) ; } return $ bridges ; }
List all active bridges in Asterisk.

@return Bridge[]
List all active bridges in Asterisk .