public function getPopularPhotos($params = array()) { $collection = new Eyeem_Collection(); $collection->setType('photo')->setName('photos')->setEndpoint('/photos/popular')->setEyeem($this)->setQueryParameters($params); return $collection; }
public function flush() { parent::flush(); $this->getParentRessource()->flushCollection($this->name); }