| Total Complexity | 5 |
| Total Lines | 57 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class AccountVerificationController extends Controller |
||
| 9 | { |
||
| 10 | use SendsConfirmationEmails; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * Where to redirect users after login. |
||
| 14 | * |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | protected $redirectTo = '/'; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Create a new controller instance. |
||
| 21 | */ |
||
| 22 | public function __construct() |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Confirm an account. |
||
| 30 | * |
||
| 31 | * @param string $token |
||
| 32 | * |
||
| 33 | * @return \Illuminate\Http\RedirectResponse |
||
| 34 | */ |
||
| 35 | public function store($token) |
||
| 48 | } |
||
| 49 | |||
| 50 | /** |
||
| 51 | * Send account confirmation email. |
||
| 52 | * |
||
| 53 | * @return \Illuminate\Http\RedirectResponse |
||
| 54 | */ |
||
| 55 | public function sendEmail() |
||
| 67 |