Rename mobile session setDateConfirm to setDateConfirmed
This commit is contained in:
parent
e56929dbcc
commit
e3a41febc5
2 changed files with 4 additions and 2 deletions
|
|
@ -180,6 +180,8 @@ class APIController extends Controller
|
|||
// phone number
|
||||
$phone_number = $req->request->get('phone_number');
|
||||
|
||||
// TODO: spam protection
|
||||
|
||||
// TODO: validate phone number
|
||||
|
||||
// TODO: generate code and save
|
||||
|
|
|
|||
|
|
@ -194,13 +194,13 @@ class MobileSession
|
|||
return $this->confirm_flag;
|
||||
}
|
||||
|
||||
public function setDateConfirm(DateTime $date)
|
||||
public function setDateConfirmed(DateTime $date)
|
||||
{
|
||||
$this->date_confirmed = $date;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getDateConfirm()
|
||||
public function getDateConfirmed()
|
||||
{
|
||||
return $this->date_confirmed;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue