public function _processClassDocBlock($block)
    {
        $result = [];
        if ($block instanceof \Zend\Code\Reflection\DocBlockReflection) {
            $docBlockLines = $block->getContents();
            $docBlockLines = explode("\n", $docBlockLines);
            foreach ($docBlockLines as $line) {
                $methodData = $this->_processClassDocLine($line);
                if ($methodData) {
                    $name = $methodData->getName();
                    $result[$name] = $methodData;
                }
            }
        }
        return $result;
    }
public function _processClassDocBlock($block)
    {
        $result = [];
        if ($block instanceof \Zend\Code\Reflection\DocBlockReflection) {
            $docBlockLines = $block->getContents();
            $docBlockLines = explode("\n", $docBlockLines);
            foreach ($docBlockLines as $line) {
                $methodData = $this->_processClassDocLine($line);
                if ($methodData) {
                    $name = $methodData->getName();
                    $result[$name] = $methodData;
                }
            }
        }
        return $result;
    }
public function _processClassDocBlock ( $ block ) { $ result = [ ] ; if ( $ block instanceof \ Zend \ Code \ Reflection \ DocBlockReflection ) { $ docBlockLines = $ block -> getContents ( ) ; $ docBlockLines = explode ( "\n" , $ docBlockLines ) ; foreach ( $ docBlockLines as $ line ) { $ methodData = $ this -> _processClassDocLine ( $ line ) ; if ( $ methodData ) { $ name = $ methodData -> getName ( ) ; $ result [ $ name ] = $ methodData ; } } } return $ result ; }
Analyze class documentation block and extract annotated methods.

@param \Zend\Code\Reflection\DocBlockReflection $block Documentation block.
@return \Praxigento\Core\App\Reflection\Data\Method[]
Analyze class documentation block and extract annotated methods .