src/Atomium/Compiler/AtomiumCompileCapture.php
protected static function get($script, $openTag)
    {
        $data = Strings::splite($script, $openTag);
        //
        $output = '';
        //
        for ($i = 1; $i < Collection::count($data); $i++) {
            $next = Strings::splite($data[$i], self::$endOpenTag);
            $rest = '';
            //
            for ($j = 0; $j < Collection::count($next); $j++) {
                $rest .= $next[$j]."\n";
            }
            //
            $next = Strings::splite($rest, self::$closeTag);
            //
            $output = $next[0];
        }
        //
        return $output;
    }
protected static function get($script, $openTag)
    {
        $data = Strings::splite($script, $openTag);
        //
        $output = '';
        //
        for ($i = 1; $i < Collection::count($data); $i++) {
            $next = Strings::splite($data[$i], self::$endOpenTag);
            $rest = '';
            //
            for ($j = 0; $j < Collection::count($next); $j++) {
                $rest .= $next[$j]."\n";
            }
            //
            $next = Strings::splite($rest, self::$closeTag);
            //
            $output = $next[0];
        }
        //
        return $output;
    }
protected static function get ( $ script , $ openTag ) { $ data = Strings :: splite ( $ script , $ openTag ) ; // $ output = '' ; // for ( $ i = 1 ; $ i < Collection :: count ( $ data ) ; $ i ++ ) { $ next = Strings :: splite ( $ data [ $ i ] , self :: $ endOpenTag ) ; $ rest = '' ; // for ( $ j = 0 ; $ j < Collection :: count ( $ next ) ; $ j ++ ) { $ rest .= $ next [ $ j ] . "\n" ; } // $ next = Strings :: splite ( $ rest , self :: $ closeTag ) ; // $ output = $ next [ 0 ] ; } // return $ output ; }
Complie the opening tag.

@var string
Complie the opening tag .