Skip to content

Instantly share code, notes, and snippets.

@vpassapera
Created October 7, 2025 08:51
Show Gist options
  • Select an option

  • Save vpassapera/361d2ce0d6d6f46e7268443b02a105bd to your computer and use it in GitHub Desktop.

Select an option

Save vpassapera/361d2ce0d6d6f46e7268443b02a105bd to your computer and use it in GitHub Desktop.
<?php
declare(strict_types=1);
namespace App\Entity;
use Symfony\Component\Security\Core\User\UserInterface as BaseUserInterface;
/**
* Interface UserInterface.
*/
interface UserInterface extends BaseUserInterface
{
/**
* @param string $firstName
*/
public function setFirstName(string $firstName): void;
/**
* @return string|null
*/
public function getFirstName(): ?string;
/**
* @param string $lastName
*/
public function setLastName(string $lastName): void;
/**
* @return string|null
*/
public function getLastName(): ?string;
/**
* @param string $displayName
*/
public function setDisplayName(string $displayName): void;
/**
* @return string|null
*/
public function getDisplayName(): ?string;
/**
* @param string $email
*/
public function setEmail(string $email): void;
/**
* @return string
*/
public function getEmail(): string;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment