HumHub Documentation (unofficial)

MultipleErrors extends InvalidEmail
in package

Tags
psalm-suppress

PropertyNotSetInConstructor

Table of Contents

Properties

$reason  : Reason
$reasons  : array<string|int, Reason>
$token  : mixed

Methods

__construct()  : mixed
addReason()  : void
code()  : int
Code for user land to act upon.
description()  : string
Short description of the result, human readable.
getReasons()  : array<string|int, Reason>
isInvalid()  : bool
Is validation result invalid? Usually the inverse of isValid()
isValid()  : bool
Is validation result valid?
reason()  : Reason

Properties

Methods

code()

Code for user land to act upon.

public code() : int
Return values
int

description()

Short description of the result, human readable.

public description() : string
Return values
string

isInvalid()

Is validation result invalid? Usually the inverse of isValid()

public isInvalid() : bool
Return values
bool

isValid()

Is validation result valid?

public isValid() : bool
Return values
bool

        
On this page

Search results