original_string: public static function addRoute($route, $controller, $root)
      {
          $file = $root.'app/http/Routes.php';
          $content = "\n\ntarget('$route','$controller');";
  
          file_put_contents($file, $content, FILE_APPEND | LOCK_EX);
  
          return true;
      }
code: public static function addRoute($route, $controller, $root)
      {
          $file = $root.'app/http/Routes.php';
          $content = "\n\ntarget('$route','$controller');";
  
          file_put_contents($file, $content, FILE_APPEND | LOCK_EX);
  
          return true;
      }
code_tokens: public static function addRoute ( $ route , $ controller , $ root ) { $ file = $ root . 'app/http/Routes.php' ; $ content = "\n\ntarget('$route','$controller');" ; file_put_contents ( $ file , $ content , FILE_APPEND | LOCK_EX ) ; return true ; }
docstring: Add controller route to routes file.
  
  @param string $route
  @param string $controller
  
  @return bool
docstring_tokens: Add controller route to routes file .