Skip to content

Problem with home made wrappers #3

Open
@camillebaronnet

Description

@camillebaronnet

public static function setApi(Api $api)

When your implement a wrapper without any dependencies with the core API, we cannot inject this instance into the Model.

Two ways to resove it :

  • Have a public static function setApi(\stdClass $api) interface instead of
  • Or create a specific interface to type any API Wrapper

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions