public function __construct()

in src/Credential.php [49:61]


    public function __construct($config = [])
    {
        if (\is_array($config)) {
            if (empty($config)) {
                $this->config = null;
            } else {
                $this->config = new Config($this->parseConfig($config));
            }
        } else {
            $this->config = $config;
        }
        $this->credential = $this->getCredentials($this->config);
    }