1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20:
<?php namespace JohnRivs\Wunderlist;
trait Reminder {
/**
* Show all the reminders in a list or task.
*
* @param string $entity A list or a task.
* @param array $attributes
* @return array
*/
public function getReminders($entity, array $attributes = [])
{
$this->requires(["{$entity}_id"], $attributes);
return $this->call('GET', 'reminders', ['query' => $attributes]);
}
}