original_string: protected static function setFile($content)
      {
          $root = Process::root;
  
          if (file_exists(Process::root.'config/alias.php')) {
              $file = fopen(Process::root.'config/alias.php', 'w');
              fwrite($file, $content);
              fclose($file);
              //
              return true;
          }
  
          return false;
      }
code: protected static function setFile($content)
      {
          $root = Process::root;
  
          if (file_exists(Process::root.'config/alias.php')) {
              $file = fopen(Process::root.'config/alias.php', 'w');
              fwrite($file, $content);
              fclose($file);
              //
              return true;
          }
  
          return false;
      }
code_tokens: protected static function setFile ( $ content ) { $ root = Process :: root ; if ( file_exists ( Process :: root . 'config/alias.php' ) ) { $ file = fopen ( Process :: root . 'config/alias.php' , 'w' ) ; fwrite ( $ file , $ content ) ; fclose ( $ file ) ; // return true ; } return false ; }
docstring: Set the file.
  
  @param string $content
  
  @return bool
docstring_tokens: Set the file .