classes/phing/tasks/ext/visualizer/VisualizerTask.php
protected function generatePuml(array $buildFiles): string
    {
        $puml = $this->transformToPuml(reset($buildFiles), VisualizerTask::XSL_HEADER);

        /**
         * @var \PhingFile $buildFile
         */
        foreach ($buildFiles as $buildFile) {
            $puml .= $this->transformToPuml($buildFile, VisualizerTask::XSL_TARGETS);
        }

        foreach ($buildFiles as $buildFile) {
            $puml .= $this->transformToPuml($buildFile, VisualizerTask::XSL_CALLS);
        }

        $puml .= $this->transformToPuml(reset($buildFiles), VisualizerTask::XSL_FOOTER);

        return $puml;
    }
protected function generatePuml(array $buildFiles): string
    {
        $puml = $this->transformToPuml(reset($buildFiles), VisualizerTask::XSL_HEADER);

        /**
         * @var \PhingFile $buildFile
         */
        foreach ($buildFiles as $buildFile) {
            $puml .= $this->transformToPuml($buildFile, VisualizerTask::XSL_TARGETS);
        }

        foreach ($buildFiles as $buildFile) {
            $puml .= $this->transformToPuml($buildFile, VisualizerTask::XSL_CALLS);
        }

        $puml .= $this->transformToPuml(reset($buildFiles), VisualizerTask::XSL_FOOTER);

        return $puml;
    }
protected function generatePuml ( array $ buildFiles ) : string { $ puml = $ this -> transformToPuml ( reset ( $ buildFiles ) , VisualizerTask :: XSL_HEADER ) ; /**
         * @var \PhingFile $buildFile
         */ foreach ( $ buildFiles as $ buildFile ) { $ puml .= $ this -> transformToPuml ( $ buildFile , VisualizerTask :: XSL_TARGETS ) ; } foreach ( $ buildFiles as $ buildFile ) { $ puml .= $ this -> transformToPuml ( $ buildFile , VisualizerTask :: XSL_CALLS ) ; } $ puml .= $ this -> transformToPuml ( reset ( $ buildFiles ) , VisualizerTask :: XSL_FOOTER ) ; return $ puml ; }
Read through provided buildfiles and generates a PlantUML diagram

@param \PhingFile[] $buildFiles

@return string
Read through provided buildfiles and generates a PlantUML diagram