| 1 | <?php |
||
| 17 | class IdentityProfileModule implements ProfileModuleInterface |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var UserRepositoryInterface |
||
| 21 | */ |
||
| 22 | private $userRepository; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var CurrentUserApiInterface |
||
| 26 | */ |
||
| 27 | private $currentUserApi; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * IdentityProfileModule constructor. |
||
| 31 | * @param UserRepositoryInterface $userRepository |
||
| 32 | * @param CurrentUserApiInterface $currentUserApi |
||
| 33 | */ |
||
| 34 | public function __construct(UserRepositoryInterface $userRepository, CurrentUserApiInterface $currentUserApi) |
||
| 39 | |||
| 40 | /** |
||
| 41 | * {@inheritdoc} |
||
| 42 | */ |
||
| 43 | public function getDisplayName($uid = null) |
||
| 51 | |||
| 52 | /** |
||
| 53 | * {@inheritdoc} |
||
| 54 | */ |
||
| 55 | public function getProfileUrl($uid = null) |
||
| 59 | |||
| 60 | /** |
||
| 61 | * {@inheritdoc} |
||
| 62 | */ |
||
| 63 | public function getAvatar($uid = null, array $parameters = []) |
||
| 67 | } |
||
| 68 |