public function all()
    {
        $multi = $this->client->zoneLoadMulti();

        $zones = array_get($multi, 'response.zones.objs');

        $all = new Collection();

        foreach ($zones as $zone) {
            $name = $zone['zone_name'];
            $all->put($name, $this->get($name));
        }

        return $all;
    }
public function all()
    {
        $multi = $this->client->zoneLoadMulti();

        $zones = array_get($multi, 'response.zones.objs');

        $all = new Collection();

        foreach ($zones as $zone) {
            $name = $zone['zone_name'];
            $all->put($name, $this->get($name));
        }

        return $all;
    }
public function all ( ) { $ multi = $ this -> client -> zoneLoadMulti ( ) ; $ zones = array_get ( $ multi , 'response.zones.objs' ) ; $ all = new Collection ( ) ; foreach ( $ zones as $ zone ) { $ name = $ zone [ 'zone_name' ] ; $ all -> put ( $ name , $ this -> get ( $ name ) ) ; } return $ all ; }
Get a collection of all the zones.

@return \Illuminate\Support\Collection
Get a collection of all the zones .