original_string: 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'] : ''
          );
      }
code: 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'] : ''
          );
      }
code_tokens: 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' ] : '' ) ; }
docstring: Create Transformation instance.
  
  @param array $transformations
  
  @return \phpDocumentor\Transformer\Transformation
docstring_tokens: Create Transformation instance .