This repository was archived by the owner on Jan 23, 2023. It is now read-only.
  
  
  
  
  
Description
Hi i think that would be best for use the wrapper if had the option of using the settings from constructor and not only from environment or laravel configs, by example:
public function __construct($baseUrl = null, $token = null, $version = null, $basePath = null, $storeCode = null)
{
    $this->baseUrl = $baseUrl ?: config('magento.base_url');
    $this->token = $token ?: config('magento.token');
    $this->version = $version ?: config('magento.version') ?: 'V1';
    $this->basePath = $basePath ?: config('magento.base_path') ?: 'rest';
    $this->storeCode = $storeCode ?: config('magento.store_code') ?: 'all';
}