src/phpDocumentor/Transformer/Command/Project/TransformCommand.php
protected function createTransformation(array $transformations)
    {
        return new Transformation(
            isset($transformations['query']) ? $transformations['query'] : '',
            $transformations['writer'],
            isset($transformations['source']) ? $transformations['source'] : '',
            isset($transformations['artifact']) ? $transformations['artifact'] : ''
        );
    }
protected function createTransformation(array $transformations)
    {
        return new Transformation(
            isset($transformations['query']) ? $transformations['query'] : '',
            $transformations['writer'],
            isset($transformations['source']) ? $transformations['source'] : '',
            isset($transformations['artifact']) ? $transformations['artifact'] : ''
        );
    }
protected function createTransformation ( array $ transformations ) { return new Transformation ( isset ( $ transformations [ 'query' ] ) ? $ transformations [ 'query' ] : '' , $ transformations [ 'writer' ] , isset ( $ transformations [ 'source' ] ) ? $ transformations [ 'source' ] : '' , isset ( $ transformations [ 'artifact' ] ) ? $ transformations [ 'artifact' ] : '' ) ; }
Create Transformation instance.

@param array $transformations

@return \phpDocumentor\Transformer\Transformation
Create Transformation instance .