php - Do I have to implement the UserInterface for Users in Symfony -
i creating webpage symfony. there advantages in implementing userinterface
symfony\component\security\core\user
?
it seems me, interface not represent needs. example not need , want username rather email.
you need implement many components e.g. security use it.
your user can extended or simplified. username do
public function getusername() { return $this->getemail(); }
Comments
Post a Comment