original_string: public function setController($controller, $name = null)
      {
          $controller = $this->app->normalizeClassName($controller, 'Controller');
  
          return $this->add($controller, $name);
      }
code: public function setController($controller, $name = null)
      {
          $controller = $this->app->normalizeClassName($controller, 'Controller');
  
          return $this->add($controller, $name);
      }
code_tokens: public function setController ( $ controller , $ name = null ) { $ controller = $ this -> app -> normalizeClassName ( $ controller , 'Controller' ) ; return $ this -> add ( $ controller , $ name ) ; }
docstring: Associate controller with the object.
  
  @param string|object $controller Class or instance of controller
  @param string|array  $name       Name or property for new controller
  
  @return AbstractController Newly added controller
docstring_tokens: Associate controller with the object .