unsplash / unsplash-php

👻 Official PHP wrapper for the Unsplash API
MIT License
415 stars 74 forks source link

Photo类的parameters属性的权限为什么是private?这导致我调用Photo::all方法后无法取出数据 #96

Closed FrankDiao closed 5 years ago

FrankDiao commented 5 years ago

Endpoint类中$parameters属性为什么是private? 我调用Photo::all方法后得到的数据都在parameters属性中,并且由于parameters属性的权限是private导致我无法取出数据。

aaronklaassen commented 5 years ago

You can access properties of a Photo object using the -> operator. e.g., $photo->user