public function homogenize()
    {
        $this->_blocks = $this->blocks()->map(function ($block) {
            $block->region->set('region', $this->_machineName);

            return $block;
        });

        return $this;
    }
public function homogenize()
    {
        $this->_blocks = $this->blocks()->map(function ($block) {
            $block->region->set('region', $this->_machineName);

            return $block;
        });

        return $this;
    }
public function homogenize ( ) { $ this -> _blocks = $ this -> blocks ( ) -> map ( function ( $ block ) { $ block -> region -> set ( 'region' , $ this -> _machineName ) ; return $ block ; } ) ; return $ this ; }
Makes sure that every block in this region is actually marked as it belongs
to this region.

Used when merging blocks from another region.

@return \Block\View\Region This region with homogenized blocks
Makes sure that every block in this region is actually marked as it belongs to this region .