Roomify\Bat\Calendar\AbstractCalendar::getUnitIds PHP Method

getUnitIds() protected method

Return an array of unit ids from the set of units supplied to the Calendar.
protected getUnitIds ( ) : array
return array
    protected function getUnitIds()
    {
        $unit_ids = array();
        foreach ($this->units as $unit) {
            $unit_ids[] = $unit->getUnitId();
        }
        return $unit_ids;
    }