improve docgen wip

This commit is contained in:
2021-12-10 01:10:55 +01:00
committed by Julie Lenaerts
parent a25123ee38
commit 5b531a0529
3 changed files with 11 additions and 2 deletions

View File

@@ -35,6 +35,15 @@ class UserNormalizer implements ContextAwareNormalizerInterface, NormalizerAware
private UserRender $userRender;
const NULL_USER = [
'type' => 'user',
'id' => '',
'username' => '',
'text' => '',
'label' => '',
'email' => '',
];
public function __construct(UserRender $userRender)
{
$this->userRender = $userRender;