public function slotsToArray()
    {
        $slotContents = array();
        foreach ($this->slotManagers as $slotName => $slot) {
            $slotContents[$slotName] = $slot->getBlockManagersCollection()->toArray();
        }

        return $slotContents;
    }
public function slotsToArray()
    {
        $slotContents = array();
        foreach ($this->slotManagers as $slotName => $slot) {
            $slotContents[$slotName] = $slot->getBlockManagersCollection()->toArray();
        }

        return $slotContents;
    }
public function slotsToArray ( ) { $ slotContents = array ( ) ; foreach ( $ this -> slotManagers as $ slotName => $ slot ) { $ slotContents [ $ slotName ] = $ slot -> getBlockManagersCollection ( ) -> toArray ( ) ; } return $ slotContents ; }
Converts slotManagers to an array

@return array

@api
Converts slotManagers to an array