$user->verificationCode, the $verificationCode parameter in the VerficationCode table is private and hence to access it you need to use the getter methods.