private function isIncluded($slotName)
    {
        if ( ! preg_match('/^([0-9]+)\-/', $slotName, $matches)) {
            return false;
        }

        // @codeCoverageIgnoreStart
        $blockId = $matches[1];
        $slotBlocks = $this->pageBlocks->getBlocks();
        foreach ($slotBlocks as $blocks) {
            foreach ($blocks as $block) {
                if ($block->getId() == $blockId) {
                    return true;
                }
            }
        }

        return false;
        // @codeCoverageIgnoreEnd
    }
private function isIncluded($slotName)
    {
        if ( ! preg_match('/^([0-9]+)\-/', $slotName, $matches)) {
            return false;
        }

        // @codeCoverageIgnoreStart
        $blockId = $matches[1];
        $slotBlocks = $this->pageBlocks->getBlocks();
        foreach ($slotBlocks as $blocks) {
            foreach ($blocks as $block) {
                if ($block->getId() == $blockId) {
                    return true;
                }
            }
        }

        return false;
        // @codeCoverageIgnoreEnd
    }
private function isIncluded ( $ slotName ) { if ( ! preg_match ( '/^([0-9]+)\-/' , $ slotName , $ matches ) ) { return false ; } // @codeCoverageIgnoreStart $ blockId = $ matches [ 1 ] ; $ slotBlocks = $ this -> pageBlocks -> getBlocks ( ) ; foreach ( $ slotBlocks as $ blocks ) { foreach ( $ blocks as $ block ) { if ( $ block -> getId ( ) == $ blockId ) { return true ; } } } return false ; // @codeCoverageIgnoreEnd }
Verifies when the block is included

@param  string  $slotName
@return boolean
Verifies when the block is included