$phone_number = $this->phone_number;
'verification_code' => Rule::exists('phone_numbers', 'verification_code')->where(function ($query) {
$query->where('phone_number', $this->phone_number);
}),
protected function validator(array $data)
{
return Validator::make($data, [
'verification_code' => 'exists:verification_code_tables,verification_code_column'
]);
}