id = $id; } public function getId(): int { return $this->id; } public function __construct() { parent::__construct(); /* * @todo Remove this later * @var \App\Entity\User $isActive */ $this->isActive = true; $this->node = new Node(); } }