Open robertnicjoo opened 6 years ago
If I use use Ncaneldiee\Rajaongkir; and then I call
use Ncaneldiee\Rajaongkir;
$province = Rajaongkir::province();
will return
Class 'Ncaneldiee\Rajaongkir' not found
So I'm force to use
$rajaongkir = new Rajaongkir\Domestic('xxxxxxxxxxxxxx');
in order to get it to work, why use Ncaneldiee\Rajaongkir; doesn't work? is not making sense to use my api_key in each function i'm creating.
api_key
thanks.
anyone?
If I use
use Ncaneldiee\Rajaongkir;
and then I callwill return
So I'm force to use
in order to get it to work, why
use Ncaneldiee\Rajaongkir;
doesn't work? is not making sense to use myapi_key
in each function i'm creating.thanks.