AmfphpDiscoveryService::formatComment PHP Method

formatComment() private method

gets rid of blocks of 4 spaces and tabs, as well as comment markers.
private formatComment ( type $comment ) : type
$comment type
return type
    private function formatComment($comment)
    {
        $ret = str_replace('    ', '', $comment);
        $ret = str_replace("\t", '', $ret);
        $ret = str_replace('/**', '', $ret);
        $ret = str_replace('*/', '', $ret);
        $ret = str_replace('*', '', $ret);
        return $ret;
    }