original_string: protected function persistObjects(ORMInterface $persister, array $objects)
      {
          foreach ($this->processors as $proc) {
              foreach ($objects as $obj) {
                  $proc->preProcess($obj);
              }
          }
  
          $persister->persist($objects);
  
          foreach ($this->processors as $proc) {
              foreach ($objects as $obj) {
                  $proc->postProcess($obj);
              }
          }
      }
code: protected function persistObjects(ORMInterface $persister, array $objects)
      {
          foreach ($this->processors as $proc) {
              foreach ($objects as $obj) {
                  $proc->preProcess($obj);
              }
          }
  
          $persister->persist($objects);
  
          foreach ($this->processors as $proc) {
              foreach ($objects as $obj) {
                  $proc->postProcess($obj);
              }
          }
      }
code_tokens: protected function persistObjects ( ORMInterface $ persister , array $ objects ) { foreach ( $ this -> processors as $ proc ) { foreach ( $ objects as $ obj ) { $ proc -> preProcess ( $ obj ) ; } } $ persister -> persist ( $ objects ) ; foreach ( $ this -> processors as $ proc ) { foreach ( $ objects as $ obj ) { $ proc -> postProcess ( $ obj ) ; } } }
docstring: Persists given objects using ORM persister, and calls registered processors.
  
  @param ORMInterface $persister
  @param $objects
docstring_tokens: Persists given objects using ORM persister and calls registered processors .