original_string: public function trigger(Event\Args $args = null, $reverse = false)
      {
  
          $args = $args ? $args : new Event\Args();
  
          if ($reverse) {
  
              for ($i = count($this->_handlers); --$i >= 0;) {
  
                  if (call_user_func_array($this->_handlers[$i], func_get_args()) === false)
                      break;
              }
          } else {
  
              foreach ($this->_handlers as $handler) {
  
                  if (call_user_func_array($handler, func_get_args()) === false)
                      break;
              }
          }
  
          return !$args->isDefaultPrevented();
      }
code: public function trigger(Event\Args $args = null, $reverse = false)
      {
  
          $args = $args ? $args : new Event\Args();
  
          if ($reverse) {
  
              for ($i = count($this->_handlers); --$i >= 0;) {
  
                  if (call_user_func_array($this->_handlers[$i], func_get_args()) === false)
                      break;
              }
          } else {
  
              foreach ($this->_handlers as $handler) {
  
                  if (call_user_func_array($handler, func_get_args()) === false)
                      break;
              }
          }
  
          return !$args->isDefaultPrevented();
      }
code_tokens: public function trigger ( Event \ Args $ args = null , $ reverse = false ) { $ args = $ args ? $ args : new Event \ Args ( ) ; if ( $ reverse ) { for ( $ i = count ( $ this -> _handlers ) ; -- $ i >= 0 ; ) { if ( call_user_func_array ( $ this -> _handlers [ $ i ] , func_get_args ( ) ) === false ) break ; } } else { foreach ( $ this -> _handlers as $ handler ) { if ( call_user_func_array ( $ handler , func_get_args ( ) ) === false ) break ; } } return ! $ args -> isDefaultPrevented ( ) ; }
docstring: Triggers the event
  
  The return value is the the negation of
  isDefaultPrevented() result of the event args
  If null is passed, new event args are created automatically
  
  @param \Tale\Event\Args|null $args An argument object to pass
  @param bool $reverse
  
  @return bool
docstring_tokens: Triggers the event