<?phpnamespace App\Entity;use Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface;use Symfony\Component\Security\Core\User\UserInterface;class Client implements UserInterface, PasswordAuthenticatedUserInterface{ private $clientId; private $serviceId; private $email; private $apiToken; private $limitToken; private $roles = []; private $kindOfCredit; /** * @var string The hashed password */ private $password; private $genre; private $firstName; private $lastName; private $address; private $cityCode; private $city; private $country; private $phoneNumber; private $birthDay; private $birthPlace; private $solde; private $credit; private $code; private $chatConnectCode; private $addressIp; private $social; private $socialUid; public function getServiceId(): ?string { return $this->serviceId; } public function setServiceId(string $serviceId): self { $this->serviceId = $serviceId; return $this; } public function getAddressIp(): ?string { return $this->addressIp; } public function setAddressIp(string $addressIp): self { $this->addressIp = $addressIp; return $this; } public function getClientId(): ?string { return $this->clientId; } public function setClientId(string $clientId): self { $this->clientId = $clientId; return $this; } public function getFirstName(): ?string { return $this->firstName; } public function setFirstName(string $firstName): self { $this->firstName = $firstName; return $this; } public function getKindOfCredit(): ?int { return $this->kindOfCredit; } public function setKindOfCredit(int $kindOfCredit): self { $this->kindOfCredit = $kindOfCredit; return $this; } public function getApiToken(): ?string { return $this->apiToken; } public function setApiToken(string $apiToken): self { $this->apiToken = $apiToken; return $this; } public function getLimitToken(): ?string { return $this->limitToken; } public function setLimitToken(string $limitToken): self { $this->limitToken = $limitToken; return $this; } public function getLastName(): ?string { return $this->lastName; } public function setLastName(string $lastName): self { $this->lastName = $lastName; return $this; } public function getAddress(): ?string { return $this->address; } public function setAddress(string $address): self { $this->address = $address; return $this; } public function getCityCode(): ?int { return $this->cityCode; } public function setCityCode(string $cityCode): self { $this->cityCode = $cityCode; return $this; } public function getCity(): ?string { return $this->city; } public function setCity(string $city): self { $this->city = $city; return $this; } public function getCountry(): ?string { return $this->country; } public function setCountry(string $country): self { $this->country = $country; return $this; } public function getGenre(): ?string { return $this->genre; } public function setGenre(string $genre): self { $this->genre = $genre; return $this; } public function getPhoneNumber(): ?string { return $this->phoneNumber; } public function setPhoneNumber(string $phoneNumber): self { $this->phoneNumber = $phoneNumber; return $this; } public function getSolde(): ?int { return $this->solde; } public function setSolde(string $solde): self { $this->solde = $solde; return $this; } public function getCredit(): ?int { return $this->credit; } public function setCredit(string $credit): self { $this->credit = $credit; return $this; } public function getCode(): ?int { return $this->code; } public function setCode(string $code): self { $this->code = $code; return $this; } public function getEmail(): ?string { return $this->email; } public function setEmail(string $email): self { $this->email = $email; return $this; } /** * A visual identifier that represents this user. * * @see UserInterface */ public function getUserIdentifier(): string { return (string) $this->email; } /** * @deprecated since Symfony 5.3, use getUserIdentifier instead */ public function getUsername(): string { return (string) $this->email; } /** * @see UserInterface */ public function getRoles(): array { $roles = $this->roles; return array_unique($roles); } public function setRoles(array $roles): self { $this->roles = $roles; return $this; } /** * @see PasswordAuthenticatedUserInterface */ public function getPassword(): string { return $this->password; } public function setPassword(string $password): self { $this->password = $password; return $this; } /** * Returning a salt is only needed, if you are not using a modern * hashing algorithm (e.g. bcrypt or sodium) in your security.yaml. * * @see UserInterface */ public function getSalt(): ?string { return null; } /** * @see UserInterface */ public function eraseCredentials() { // If you store any temporary, sensitive data on the user, clear it here // $this->plainPassword = null; } public function getEmailsSend(): ?array { return $this->emailsSend; } public function setEmailsSend(array $emailsSend): self { $this->emailsSend = $emailsSend; return $this; } public function getEmailsRecieved(): ?array { return $this->emailsRecieved; } public function setEmailsRecieved(array $emailsRecieved): self { $this->emailsRecieved = $emailsRecieved; return $this; } public function getSocial(): ?string { return $this->social; } public function setSocial(string $social): self { $this->social = $social; return $this; } public function getSocialUid() { return $this->socialUid; } public function setSocialUid(string $socialUid): self { $this->socialUid = $socialUid; return $this; } /** * Get the value of chatConnectCode */ public function getChatConnectCode() { return $this->chatConnectCode; } /** * Set the value of chatConnectCode * * @return self */ public function setChatConnectCode($chatConnectCode) { $this->chatConnectCode = $chatConnectCode; return $this; }}