src/Block/Parser.php
public function transformRaw($comment)
    {
        $comment = preg_replace('/[\/\*]/', '', $comment);
        $chunks  = array_map('trim', explode(PHP_EOL, $comment));

        return implode(PHP_EOL, array_filter($chunks));
    }
public function transformRaw($comment)
    {
        $comment = preg_replace('/[\/\*]/', '', $comment);
        $chunks  = array_map('trim', explode(PHP_EOL, $comment));

        return implode(PHP_EOL, array_filter($chunks));
    }
public function transformRaw ( $ comment ) { $ comment = preg_replace ( '/[\/\*]/' , '' , $ comment ) ; $ chunks = array_map ( 'trim' , explode ( PHP_EOL , $ comment ) ) ; return implode ( PHP_EOL , array_filter ( $ chunks ) ) ; }
Prettify a raw comment.

@param string $comment
@return string
Prettify a raw comment .