original_string: protected function compileMinify($value)
      {
          if ($this->shouldMinify($value)) {
              $replace = array(
                  '/<!--[^\[](.*?)[^\]]-->/s' => '',
                  "/<\?php/"                  => '<?php ',
                  "/\n([\S])/"                => ' $1',
                  "/\r/"                      => '',
                  "/\n/"                      => '',
                  "/\t/"                      => ' ',
                  "/ +/"                      => ' ',
              );
  
              return preg_replace(
                  array_keys($replace), array_values($replace), $value
              );
          } else {
              return $value;
          }
  
      }
code: protected function compileMinify($value)
      {
          if ($this->shouldMinify($value)) {
              $replace = array(
                  '/<!--[^\[](.*?)[^\]]-->/s' => '',
                  "/<\?php/"                  => '<?php ',
                  "/\n([\S])/"                => ' $1',
                  "/\r/"                      => '',
                  "/\n/"                      => '',
                  "/\t/"                      => ' ',
                  "/ +/"                      => ' ',
              );
  
              return preg_replace(
                  array_keys($replace), array_values($replace), $value
              );
          } else {
              return $value;
          }
  
      }
code_tokens: protected function compileMinify ( $ value ) { if ( $ this -> shouldMinify ( $ value ) ) { $ replace = array ( '/<!--[^\[](.*?)[^\]]-->/s' => '' , "/<\?php/" => '<?php ' , "/\n([\S])/" => ' $1' , "/\r/" => '' , "/\n/" => '' , "/\t/" => ' ' , "/ +/" => ' ' , ) ; return preg_replace ( array_keys ( $ replace ) , array_values ( $ replace ) , $ value ) ; } else { return $ value ; } }
docstring: Compress the HTML output before saving it
  
  @param string $value the contents of the view file
  
  @return string
docstring_tokens: Compress the HTML output before saving it