original_string: public function bake($controllerName, $actionName, $content = '')
      {
          if ($content === true) {
              $content = $this->getContent($action);
          }
          if (empty($content)) {
              return false;
          }
          $this->out("\n" . sprintf('Baking `%s%s/%s` JS controller file...', ($this->plugin ? $this->plugin . '.' : ''), $controllerName, $actionName), 1, Shell::QUIET);
          $path = $this->getPath();
          $filename = $path . Inflector::underscore($controllerName) . '/' . Inflector::underscore($actionName) . '_controller.js';
          $this->createFile($filename, $content);
          return $content;
      }
code: public function bake($controllerName, $actionName, $content = '')
      {
          if ($content === true) {
              $content = $this->getContent($action);
          }
          if (empty($content)) {
              return false;
          }
          $this->out("\n" . sprintf('Baking `%s%s/%s` JS controller file...', ($this->plugin ? $this->plugin . '.' : ''), $controllerName, $actionName), 1, Shell::QUIET);
          $path = $this->getPath();
          $filename = $path . Inflector::underscore($controllerName) . '/' . Inflector::underscore($actionName) . '_controller.js';
          $this->createFile($filename, $content);
          return $content;
      }
code_tokens: public function bake ( $ controllerName , $ actionName , $ content = '' ) { if ( $ content === true ) { $ content = $ this -> getContent ( $ action ) ; } if ( empty ( $ content ) ) { return false ; } $ this -> out ( "\n" . sprintf ( 'Baking `%s%s/%s` JS controller file...' , ( $ this -> plugin ? $ this -> plugin . '.' : '' ) , $ controllerName , $ actionName ) , 1 , Shell :: QUIET ) ; $ path = $ this -> getPath ( ) ; $ filename = $ path . Inflector :: underscore ( $ controllerName ) . '/' . Inflector :: underscore ( $ actionName ) . '_controller.js' ; $ this -> createFile ( $ filename , $ content ) ; return $ content ; }
docstring: Bakes the JS file
  
  @param string $controllerName Controller Name
  @param string $actionName Action Name
  @param string $content File Content
  @return string
docstring_tokens: Bakes the JS file