src/Atomium/Compiler/AtomiumCompileComments.php
public static function hide($script, $openTag, $closeTag)
    {
        $data = Strings::splite($script, $openTag);
        //
        $output = $data[0];
        //
        for ($i = 1; $i < Collection::count($data); $i++) {
            $output .= '';
            //
            $next = Strings::splite($data[$i], $closeTag);
            $output .= '';
            //
            for ($j = 1; $j < Collection::count($next); $j++) {
                if ($j == (Collection::count($next) - 1)) {
                    $output .= $next[$j];
                } else {
                    $output .= $next[$j].$closeTag;
                }
            }
        }

        return $output;
    }
public static function hide($script, $openTag, $closeTag)
    {
        $data = Strings::splite($script, $openTag);
        //
        $output = $data[0];
        //
        for ($i = 1; $i < Collection::count($data); $i++) {
            $output .= '';
            //
            $next = Strings::splite($data[$i], $closeTag);
            $output .= '';
            //
            for ($j = 1; $j < Collection::count($next); $j++) {
                if ($j == (Collection::count($next) - 1)) {
                    $output .= $next[$j];
                } else {
                    $output .= $next[$j].$closeTag;
                }
            }
        }

        return $output;
    }
public static function hide ( $ script , $ openTag , $ closeTag ) { $ data = Strings :: splite ( $ script , $ openTag ) ; // $ output = $ data [ 0 ] ; // for ( $ i = 1 ; $ i < Collection :: count ( $ data ) ; $ i ++ ) { $ output .= '' ; // $ next = Strings :: splite ( $ data [ $ i ] , $ closeTag ) ; $ output .= '' ; // for ( $ j = 1 ; $ j < Collection :: count ( $ next ) ; $ j ++ ) { if ( $ j == ( Collection :: count ( $ next ) - 1 ) ) { $ output .= $ next [ $ j ] ; } else { $ output .= $ next [ $ j ] . $ closeTag ; } } } return $ output ; }
To hide de comment that user write.

@return string
To hide de comment that user write .