for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace shweshi\LaravelUnsplashWrapper;
class UnsplashCollections extends BaseClass
{
/**
* Retrieve a single page from the list of all collections.
*
* @param array $params
* @return mixed
*/
public function collections(array $params)
return $this->call('collections', $params);
}
* Retrieve a single page from the list of featured collections.
public function featured(array $params)
return $this->call('collections/featured', $params);
* Retrieve a single page from the list of curated collections.
public function curated(array $params)
return $this->call('collections/curated', $params);
* Retrieve a collection using id.
* @param string $id
public function single($id, array $params)
return $this->call('collections/'.$id, $params);
* Retrieve a collection’s photos.
public function photos($id, array $params)
return $this->call('collections/'.$id.'photos', $params);
* Retrieve a list of collections related to this one.
public function related($id, array $params)
return $this->call('collections/'.$id.'related', $params);