protected function parseBlock($block)
    {
        $lines = array_filter(array_map(function($line)
        {
            $line = trim($line);

            if (strpos($line, "/**") !== false or strpos($line, "*/") !== false) {
                return null;
            }

            return trim(substr($line, 1));
        }, explode(PHP_EOL, $block)));

        return array_values($lines);
    }
protected function parseBlock($block)
    {
        $lines = array_filter(array_map(function($line)
        {
            $line = trim($line);

            if (strpos($line, "/**") !== false or strpos($line, "*/") !== false) {
                return null;
            }

            return trim(substr($line, 1));
        }, explode(PHP_EOL, $block)));

        return array_values($lines);
    }
protected function parseBlock ( $ block ) { $ lines = array_filter ( array_map ( function ( $ line ) { $ line = trim ( $ line ) ; if ( strpos ( $ line , "/**" ) !== false or strpos ( $ line , "*/" ) !== false ) { return null ; } return trim ( substr ( $ line , 1 ) ) ; } , explode ( PHP_EOL , $ block ) ) ) ; return array_values ( $ lines ) ; }
Parses a DocBlock comment into an array of lines.

@param string $block
@return array
Parses a DocBlock comment into an array of lines .