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);
        }
    }
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);
        }
    }
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 ) ; } }
Initializes all writers that are used during this transformation.

@param ProjectDescriptor $project
@param Transformation[]  $transformations

@return void
Initializes all writers that are used during this transformation .