for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/* For licensing terms, see /license.txt */
namespace Chamilo\CoreBundle\Traits;
use Chamilo\CoreBundle\Entity\User;
trait UserTrait
{
/**
* @return User
*/
public function getUser()
return $this->user;
}
public function setUser(User $user): self
$this->user = $user;
return $this;