src/RestGalleries/RestGallery.php
public function all()
    {
        $models = $this->newGallery()->all();

        if (! empty($models)) {
            return $this->newCollection($models);
        }

    }
public function all()
    {
        $models = $this->newGallery()->all();

        if (! empty($models)) {
            return $this->newCollection($models);
        }

    }
Returns all galleries (and its photos) from an api service.

@return \Illuminate\Support\Collection|null