Configuration
Introduction
All of configuration you can register with class Otnansirk\SnapBI\Services\Config
Register Config
Before using php-snap-bi
you must register all the necessary configurations.
This configuration value is for example only.
Default Config Values
client_id
Yes
client_secret
Yes
ssh_private_key
Yes
ssh_public_key
Yes
partner_id
Yes
account_id
Yes
bank_card_token
Yes
channel_id
Yes
base_url
Yes
Chaining Support
The Config class offers the convenience of query chaining, allowing you to perform multiple operations without having to call them directly through methods.
To achieve this, you can utilize the "for"
method provided by the Config
class. Rather than invoking Config::bca([...])
, you can adopt a more structured approach by using Config::for("bca")->register([...]).
This configuration value is for example only.
Method Support
for("key")
static
register([config_values])
void
get("key")
string
all()
array
Get all config values
Last updated