ProvisioningConfiguration
class ProvisioningConfiguration
Class ProvisioningConfiguration
Properties
ProvisioningAccountConfig | $provisioningAccount | ||
ApiConfig | $api | ||
LoggingConfig | $logging |
Methods
ConfigurationAccount constructor.
Imports configuration from a account URL.
This is the actual constructor.
Imports configuration from another instance of the ConfigurationAccount.
Serializes ConfigurationAccount to a json array.
Singleton instance for effective access to global configuration
Details
__construct(ProvisioningConfiguration|string|array|null $config = null)
ConfigurationAccount constructor.
init(ProvisioningConfiguration|string|array|null $config = null)
ConfigurationAccount initializer
ProvisioningConfiguration
importAccountUrl(string|UriInterface $accountUrl)
Imports configuration from a account URL.
ProvisioningConfiguration
importJson($json)
This is the actual constructor.
ProvisioningConfiguration
importConfig(ProvisioningConfiguration $otherConfig)
Imports configuration from another instance of the ConfigurationAccount.
mixed
jsonSerialize(bool $includeSensitive = true, bool $includeEmptyKeys = false, bool $includeEmptySections = false)
Serializes ConfigurationAccount to a json array.
static ProvisioningConfiguration
instance(ProvisioningConfiguration|string|array|null $config = null)
Singleton instance for effective access to global configuration
Instance can be optionally initialized with the provided $config (used only on the first call)
Constants
CLOUDINARY_ACCOUNT_URL_ENV_VAR |
|