Update MsgPHP user + EAV bundle to v0.2

This commit is contained in:
Roland Franssen
2018-03-07 11:51:15 +01:00
parent c10e3ccc67
commit f3bf569958
10 changed files with 74 additions and 36 deletions
@@ -0,0 +1,24 @@
<?php
namespace App\Entity\User;
use MsgPhp\User\Entity\User as BaseUser;
use MsgPhp\User\UserIdInterface;
/**
* @final
*/
class User extends BaseUser
{
private $id;
public function __construct(UserIdInterface $id)
{
$this->id = $id;
}
public function getId(): UserIdInterface
{
return $this->id;
}
}