original_string: public function doAction($action)
      {
          $controller = $this->getOption('hooks-controller');
          $instance = $this->getControllerInstance($controller);
  
          if (is_object($instance) && method_exists($instance, $action)) {
              $response = call_user_func([$instance, $action]);
          }
  
          $this->setAction('');
  
          return isset($response);
      }
code: public function doAction($action)
      {
          $controller = $this->getOption('hooks-controller');
          $instance = $this->getControllerInstance($controller);
  
          if (is_object($instance) && method_exists($instance, $action)) {
              $response = call_user_func([$instance, $action]);
          }
  
          $this->setAction('');
  
          return isset($response);
      }
code_tokens: public function doAction ( $ action ) { $ controller = $ this -> getOption ( 'hooks-controller' ) ; $ instance = $ this -> getControllerInstance ( $ controller ) ; if ( is_object ( $ instance ) && method_exists ( $ instance , $ action ) ) { $ response = call_user_func ( [ $ instance , $ action ] ) ; } $ this -> setAction ( '' ) ; return isset ( $ response ) ; }
docstring: Execute action hook.
  
  @param string $action → action hook to execute
  
  @uses \Eliasis\Complement\Traits\ComplementAction::setAction()
  @uses \Eliasis\Complement\Traits\ComplementHandler::getOption()
  
  @return bool
docstring_tokens: Execute action hook .