public function __construct($name, UserInterface $user = null) { parent::__construct($name); $this->user = $user; }