/** * Fetches model data from API and instantiates its model instances * * @param [array] $options params to pass to url request * @return [SiteUserMemberships] $this */ public function fetch($options = array()) { if (!isset($options['paged'])) { $options['paged'] = true; } parent::fetch($options); return $this; }
/** * Fetches model data from API and instantiates its model instances * * @param [boolean] $paged True to use paginated API requests * @return [Workflows] $this */ public function fetch($paged = false) { parent::fetch(true); return $this; }