src/phpDocumentor/Transformer/Command/Project/TransformCommand.php
protected function appendReceivedTransformations(Transformer $transformer, $received)
    {
        if (!empty($received)) {
            $template = new Template('__');
            foreach ($received as $transformation) {
                $template[] = $transformation;
            }
            $transformer->getTemplates()->append($template);
        }
    }
protected function appendReceivedTransformations(Transformer $transformer, $received)
    {
        if (!empty($received)) {
            $template = new Template('__');
            foreach ($received as $transformation) {
                $template[] = $transformation;
            }
            $transformer->getTemplates()->append($template);
        }
    }
protected function appendReceivedTransformations ( Transformer $ transformer , $ received ) { if ( ! empty ( $ received ) ) { $ template = new Template ( '__' ) ; foreach ( $ received as $ transformation ) { $ template [ ] = $ transformation ; } $ transformer -> getTemplates ( ) -> append ( $ template ) ; } }
Append received transformations.

@param Transformer $transformer
@param array       $received

@return void
Append received transformations .