public function getWallpapers()
    {
        $wallpapers = new WallpaperList();

        for ($i = 1; $i <= $this->pages; ++$i) {
            $wallpapers->addAll($this->wallhaven->search(
                $this->keywords,
                $this->categories,
                $this->purity,
                $this->sorting,
                $this->order,
                $this->resolutions,
                $this->ratios,
                $i
            ));
        }

        return $wallpapers;
    }
public function getWallpapers()
    {
        $wallpapers = new WallpaperList();

        for ($i = 1; $i <= $this->pages; ++$i) {
            $wallpapers->addAll($this->wallhaven->search(
                $this->keywords,
                $this->categories,
                $this->purity,
                $this->sorting,
                $this->order,
                $this->resolutions,
                $this->ratios,
                $i
            ));
        }

        return $wallpapers;
    }
public function getWallpapers ( ) { $ wallpapers = new WallpaperList ( ) ; for ( $ i = 1 ; $ i <= $ this -> pages ; ++ $ i ) { $ wallpapers -> addAll ( $ this -> wallhaven -> search ( $ this -> keywords , $ this -> categories , $ this -> purity , $ this -> sorting , $ this -> order , $ this -> resolutions , $ this -> ratios , $ i ) ) ; } return $ wallpapers ; }
Execute the search with the specified filters.

@return WallpaperList Wallpapers matching the specified filters.
Execute the search with the specified filters .