Destiny\Character\ActivityCollection::gDailyAndNightfall PHP Method

gDailyAndNightfall() protected method

protected gDailyAndNightfall ( )
    protected function gDailyAndNightfall()
    {
        $items = [];
        /**
         * @var string $k
         * @var Activity $activity
         */
        foreach ($this as $k => $activity) {
            if (starts_with($k, 'DAILY') || starts_with($k, 'NIGHTFALL')) {
                $items[$activity->activityHash] = $activity;
            }
        }
        return $items;
    }