Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collection Retrieve Photos #72

Open
apapazisis opened this issue Nov 22, 2017 · 2 comments
Open

Collection Retrieve Photos #72

apapazisis opened this issue Nov 22, 2017 · 2 comments
Assignees

Comments

@apapazisis
Copy link

$collection = Crew\Unsplash\Collection::find(integer $id);
$photos = $collection->photos($page, $per_page);

The retrieve photos of a collection returns an ArrayObject. Please make it to return a PageResult as you have at Search::photos as an example

@HughbertD HughbertD self-assigned this Dec 13, 2017
@lukechesser
Copy link
Member

@apapazisis thanks for reporting. If you have time, feel free to PR a change that ensures backwards compatibility

@Dayjo
Copy link

Dayjo commented Nov 4, 2019

Just plus oneing my desire for this issue to be resolved too. 👍

I don't think I'm even able to use this at all as I'm unable to use getHeaders, getTotal, getTotalPages, getResults etc?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants