MetaFox

EditPhoneNumberForm extends AbstractForm
in package
Uses MfaFieldTrait

Class EditPhoneNumberForm.

Table of Contents

Properties

$resource  : User|null

Methods

applyMfaRequiredEmailField()  : void
applyMfaRequiredPhoneField()  : void
boot()  : void
addRequiredToField()  : void
addRequiredValidator()  : void
getPhoneField()  : AbstractField
initialize()  : void
isServiceEnabled()  : bool
prepare()  : void
userMfaResource()  : User

Properties

Methods

applyMfaRequiredEmailField()

public applyMfaRequiredEmailField(AbstractField $field) : void
Parameters
$field : AbstractField

applyMfaRequiredPhoneField()

public applyMfaRequiredPhoneField(AbstractField $field) : void
Parameters
$field : AbstractField

addRequiredToField()

protected addRequiredToField(AbstractField $field, string $service) : void
Parameters
$field : AbstractField
$service : string

addRequiredValidator()

protected addRequiredValidator(AbstractField $field, string $service) : void
Parameters
$field : AbstractField
$service : string

getPhoneField()

protected getPhoneField() : AbstractField
Return values
AbstractField

isServiceEnabled()

protected isServiceEnabled(string $service) : bool
Parameters
$service : string
Return values
bool

        
On this page

Search results