Skip to content

How to use? #1

Open
Open

Description

@4n70w4

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?

Activity

  1. Bilge commented on May 23, 2019

    @Bilge
    Member

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions