private function blocksToArray(array $slotBlocks)
    {
        foreach ($slotBlocks as $block) {
            $aBlock = $block->toArray();
            unset($aBlock["Id"]);

            $this->arrayBlocks[] = $aBlock;
        }
    }
private function blocksToArray(array $slotBlocks)
    {
        foreach ($slotBlocks as $block) {
            $aBlock = $block->toArray();
            unset($aBlock["Id"]);

            $this->arrayBlocks[] = $aBlock;
        }
    }
private function blocksToArray ( array $ slotBlocks ) { foreach ( $ slotBlocks as $ block ) { $ aBlock = $ block -> toArray ( ) ; unset ( $ aBlock [ "Id" ] ) ; $ this -> arrayBlocks [ ] = $ aBlock ; } }
Converts to array the blocks placed on the current slot

@param array $slotBlocks
Converts to array the blocks placed on the current slot