Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use? #1

Open
4n70w4 opened this issue May 23, 2019 · 1 comment
Open

How to use? #1

4n70w4 opened this issue May 23, 2019 · 1 comment

Comments

@4n70w4
Copy link

4n70w4 commented May 23, 2019

Symfony\Component\Debug\Exception\FatalThrowableError : Call to undefined method ScriptFUSION\Porter\Specification\ImportSpecification::setMapping

Method setMapping not defined in this library souces and in ScriptFUSION/Porter not defined too. Where to get this method? How does this even work?

@Bilge
Copy link
Member

Bilge commented May 23, 2019

Sorry, that documentation is out of date. The new way to set a mapping is by adding a MappingTransformer.

Example

$importSpecification->addTransformer(new MappingTransformer(new MyMapping))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants