public function setClientConfigId($clientConfigId) { if (!is_string($clientConfigId) || 0 >= strlen($clientConfigId)) { throw new TokenException('client_config_id needs to be a non-empty string'); } $this->clientConfigId = $clientConfigId; }