protected function templateSlotsToArray($slots)
    {
        $result = array();
        foreach ($slots as $slot) {
            $result[$slot->getSlotName()] = $slot->getRepeated();
        }

        return $result;
    }
protected function templateSlotsToArray($slots)
    {
        $result = array();
        foreach ($slots as $slot) {
            $result[$slot->getSlotName()] = $slot->getRepeated();
        }

        return $result;
    }
protected function templateSlotsToArray ( $ slots ) { $ result = array ( ) ; foreach ( $ slots as $ slot ) { $ result [ $ slot -> getSlotName ( ) ] = $ slot -> getRepeated ( ) ; } return $ result ; }
Converts the slots to an array where the key is the slot name and the value is the repeated status

@param  array $slots
@return array

@api
Converts the slots to an array where the key is the slot name and the value is the repeated status