original_string: private function initializeWriters(ProjectDescriptor $project, $transformations)
      {
          $isInitialized = array();
          foreach ($transformations as $transformation) {
              $writerName = $transformation->getWriter();
  
              if (in_array($writerName, $isInitialized)) {
                  continue;
              }
  
              $isInitialized[] = $writerName;
              $writer = $this->writers[$writerName];
              $this->initializeWriter($writer, $project);
          }
      }
code: private function initializeWriters(ProjectDescriptor $project, $transformations)
      {
          $isInitialized = array();
          foreach ($transformations as $transformation) {
              $writerName = $transformation->getWriter();
  
              if (in_array($writerName, $isInitialized)) {
                  continue;
              }
  
              $isInitialized[] = $writerName;
              $writer = $this->writers[$writerName];
              $this->initializeWriter($writer, $project);
          }
      }
code_tokens: private function initializeWriters ( ProjectDescriptor $ project , $ transformations ) { $ isInitialized = array ( ) ; foreach ( $ transformations as $ transformation ) { $ writerName = $ transformation -> getWriter ( ) ; if ( in_array ( $ writerName , $ isInitialized ) ) { continue ; } $ isInitialized [ ] = $ writerName ; $ writer = $ this -> writers [ $ writerName ] ; $ this -> initializeWriter ( $ writer , $ project ) ; } }
docstring: Initializes all writers that are used during this transformation.
  
  @param ProjectDescriptor $project
  @param Transformation[]  $transformations
  
  @return void
docstring_tokens: Initializes all writers that are used during this transformation .