original_string: public function setProcessorsStack(array $stack)
      {
          $this->processorsStack = [];
          foreach (array_reverse($stack) as $processor) {
              $this->pushProcessor($processor);
          }
  
          return $this;
      }
code: public function setProcessorsStack(array $stack)
      {
          $this->processorsStack = [];
          foreach (array_reverse($stack) as $processor) {
              $this->pushProcessor($processor);
          }
  
          return $this;
      }
code_tokens: public function setProcessorsStack ( array $ stack ) { $ this -> processorsStack = [ ] ; foreach ( array_reverse ( $ stack ) as $ processor ) { $ this -> pushProcessor ( $ processor ) ; } return $ this ; }
docstring: Setting the processors stack as array.
  
  @param ProcessorInterface[] $stack processors stack
  
  @return ErrorHandler
docstring_tokens: Setting the processors stack as array .