[Transformer] transform method could accept any kind of $data
Merge pull request #13 from tyx/fix/transform-data

[Transformer] transform method could accept any kind of $data