Skip to content

Commit aeed484

Browse files
committed
Update Transformer.php
1 parent 67aed48 commit aeed484

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Transformer/Transformer.php

+8
Original file line numberDiff line numberDiff line change
@@ -336,4 +336,12 @@ protected static function flattenObjectsWithSingleKeyScalars(array &$array)
336336
self::loopScalarValues($array, 'flattenObjectsWithSingleKeyScalars');
337337
}
338338
}
339+
340+
/**
341+
* @return \NilPortugues\Api\Mapping\Mapping[]
342+
*/
343+
public function getMappings()
344+
{
345+
return $this->mappings;
346+
}
339347
}

0 commit comments

Comments
 (0)