Table of Contents
Methods
-
__construct()
: mixed
-
canUse()
: bool
-
confirmRegistration()
: Result
-
getCallbackUrl()
: string
-
getExternalManageUrl()
: string
-
getHostUrl()
: string
-
getOwnerInfo()
: array{api_key: string, sender_id: array}
-
isConfirmed()
: bool
-
isRegistered()
: bool
-
isSupported()
: bool
-
register()
: Result
-
resetCallback()
: Result
-
sendConfirmationCode()
: Result
-
sync()
: Registrar
__construct()
public
__construct(string $providerId, OptionManager $optionManager, EdnaRu $utils) : mixed
Parameters
-
$providerId
: string
-
-
$optionManager
: OptionManager
-
-
$utils
: EdnaRu
-
canUse()
public
canUse() : bool
confirmRegistration()
public
confirmRegistration(array<string|int, mixed> $fields) : Result
Parameters
-
$fields
: array<string|int, mixed>
-
getCallbackUrl()
public
getCallbackUrl() : string
getExternalManageUrl()
public
getExternalManageUrl() : string
getHostUrl()
public
getHostUrl() : string
getOwnerInfo()
public
getOwnerInfo() : array{api_key: string, sender_id: array}
Return values
array{api_key: string, sender_id: array}
isConfirmed()
public
isConfirmed() : bool
isRegistered()
public
isRegistered() : bool
isSupported()
public
isSupported() : bool
register()
public
register(array<string|int, mixed> $fields) : Result
Parameters
-
$fields
: array<string|int, mixed>
-
resetCallback()
public
resetCallback() : Result
sendConfirmationCode()
public
sendConfirmationCode() : Result
sync()
public
sync() : Registrar