original_string: protected function hideAction($methodName)
      {
          if (!is_array($methodName)) {
              $methodName = [$methodName];
          }
  
          $this->controller->hiddenActions = array_merge($this->controller->hiddenActions, $methodName);
      }
code: protected function hideAction($methodName)
      {
          if (!is_array($methodName)) {
              $methodName = [$methodName];
          }
  
          $this->controller->hiddenActions = array_merge($this->controller->hiddenActions, $methodName);
      }
code_tokens: protected function hideAction ( $ methodName ) { if ( ! is_array ( $ methodName ) ) { $ methodName = [ $ methodName ] ; } $ this -> controller -> hiddenActions = array_merge ( $ this -> controller -> hiddenActions , $ methodName ) ; }
docstring: Protects a public method from being available as an controller action.
  These methods could be defined in a controller to override a behavior default action.
  Such methods should be defined as public, to allow the behavior object to access it.
  By default public methods of a controller are considered as actions.
  To prevent this occurrence, methods should be hidden by using this method.
  @param mixed $methodName Specifies a method name.
docstring_tokens: Protects a public method from being available as an controller action . These methods could be defined in a controller to override a behavior default action . Such methods should be defined as public to allow the behavior object to access it . By default public methods of a controller are considered as actions . To prevent this occurrence methods should be hidden by using this method .