public function __construct(UserCredentials $uc) { $this->userName = $uc->getName(); $this->client = $uc->getClient(); }