You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Another way is to rework the Wrapper by supporting a pattern like the Repository/Paginator inspired by the Symfony Bridge instead of "Api Wrapper". Repository and Wrapper are very similar.
By using a Repository instead of Wrapper. Each repositories can be abstract and contractualized by an interface that would look like this:
php-api-wrapper/src/Model.php
Line 76 in abd025c
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 :
public static function setApi(\stdClass $api)
interface instead ofThe text was updated successfully, but these errors were encountered: