original_string: public function setHandlers(array $handlers): self
      {
          $this->handlers = [];
          foreach (array_reverse($handlers) as $handler) {
              $this->pushHandler($handler);
          }
  
          return $this;
      }
code: public function setHandlers(array $handlers): self
      {
          $this->handlers = [];
          foreach (array_reverse($handlers) as $handler) {
              $this->pushHandler($handler);
          }
  
          return $this;
      }
code_tokens: public function setHandlers ( array $ handlers ) : self { $ this -> handlers = [ ] ; foreach ( array_reverse ( $ handlers ) as $ handler ) { $ this -> pushHandler ( $ handler ) ; } return $ this ; }
docstring: Set handlers, replacing all existing ones.
  
  If a map is passed, keys will be ignored.
  
  @param HandlerInterface[] $handlers
docstring_tokens: Set handlers replacing all existing ones .