type = $type; $this->user = $user; } }