public === null) { throw new InvalidConfigException('Public is required'); } if ($this->secret === null) { throw new InvalidConfigException('Secret is required'); } } }