public function activate($code, Admin $admin) { if ($admin->activateAccount($code)) { return 'Activated!'; } return 'Fail'; }