original_string: public function doNotMatchAction(array $action, $reset = false)
      {
          if ($reset) {
              $this->_doNotMatchAction = [];
          }
          if (!empty($action)) {
              $this->_doNotMatchAction[] = $action;
          }
  
          return $this;
      }
code: public function doNotMatchAction(array $action, $reset = false)
      {
          if ($reset) {
              $this->_doNotMatchAction = [];
          }
          if (!empty($action)) {
              $this->_doNotMatchAction[] = $action;
          }
  
          return $this;
      }
code_tokens: public function doNotMatchAction ( array $ action , $ reset = false ) { if ( $ reset ) { $ this -> _doNotMatchAction = [ ] ; } if ( ! empty ( $ action ) ) { $ this -> _doNotMatchAction [ ] = $ action ; } return $ this ; }
docstring: Add an action which this menu item should not match for.
  
  @param array $action
  @param bool $reset Whether to reset existing 'doNotMatchAction' entries.
  @return MenuItem|array
docstring_tokens: Add an action which this menu item should not match for .