private function getBlockInfo(\Magento\Framework\View\Element\AbstractBlock $block)
    {
        $result = self::filterEscapeEncode([
            'info' => [
                'nameInLayout' => $block->getNameInLayout(),
                'moduleName' => $block->getModuleName(),
                'phpClass' => $this->getBlockClass($block),
            ],
            'extra' => [
                'cacheKeyInfo' => $block->getCacheKeyInfo()
            ],
            'paths' => [
                'template' => $block->getTemplateFile(),
            ] + $this->getBlockPaths($block)
        ]);

        return $result;
    }
private function getBlockInfo(\Magento\Framework\View\Element\AbstractBlock $block)
    {
        $result = self::filterEscapeEncode([
            'info' => [
                'nameInLayout' => $block->getNameInLayout(),
                'moduleName' => $block->getModuleName(),
                'phpClass' => $this->getBlockClass($block),
            ],
            'extra' => [
                'cacheKeyInfo' => $block->getCacheKeyInfo()
            ],
            'paths' => [
                'template' => $block->getTemplateFile(),
            ] + $this->getBlockPaths($block)
        ]);

        return $result;
    }
private function getBlockInfo ( \ Magento \ Framework \ View \ Element \ AbstractBlock $ block ) { $ result = self :: filterEscapeEncode ( [ 'info' => [ 'nameInLayout' => $ block -> getNameInLayout ( ) , 'moduleName' => $ block -> getModuleName ( ) , 'phpClass' => $ this -> getBlockClass ( $ block ) , ] , 'extra' => [ 'cacheKeyInfo' => $ block -> getCacheKeyInfo ( ) ] , 'paths' => [ 'template' => $ block -> getTemplateFile ( ) , ] + $ this -> getBlockPaths ( $ block ) ] ) ; return $ result ; }
Returns the blockInfo as a json encoded array

@param \Magento\Framework\View\Element\AbstractBlock $block
@return string
Returns the blockInfo as a json encoded array