Skip to content
Snippets Groups Projects
Commit 5132ebcc authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Ajout d'un accesseur pour le UserContext

parent ad1c9eed
Branches
Tags
No related merge requests found
......@@ -18,10 +18,15 @@ trait UserContextServiceAwareTrait
* @param UserContext $serviceUserContext
* @return self
*/
public function setServiceUserContext(UserContext $serviceUserContext)
public function setServiceUserContext(UserContext $serviceUserContext) : UserContext
{
$this->serviceUserContext = $serviceUserContext;
return $this->serviceUserContext;
}
return $this;
public function getServiceUserContext() : UserContext
{
return $this->serviceUserContext;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment