MapBuilder
Table of Contents
Methods
- __construct() : mixed
- StringBuilder constructor.
- addEmail() : $this
- Adds email to the builder.
- addInteger() : mixed
- Adds digit content to the builder.
- addPhone() : $this
- Adds phone number to the builder.
- addText() : mixed
- Adds arbitrary integer content to the builder.
- addUser() : $this
- Adds full user name to the builder.
- build() : string
- Builds search string.
- create() : static
- Creates instance of the StringBuilder
Methods
__construct()
StringBuilder constructor.
public
__construct() : mixed
addEmail()
Adds email to the builder.
public
addEmail(string $email) : $this
Parameters
- $email : string
-
Email.
Return values
$thisaddInteger()
Adds digit content to the builder.
public
addInteger(int $token) : mixed
Parameters
- $token : int
-
.
Tags
addPhone()
Adds phone number to the builder.
public
addPhone(string $phone) : $this
Parameters
- $phone : string
-
Phone number.
Return values
$thisaddText()
Adds arbitrary integer content to the builder.
public
addText(string $token) : mixed
Parameters
- $token : string
-
Arbitrary string.
Tags
addUser()
Adds full user name to the builder.
public
addUser(array<string|int, mixed>|int $userId) : $this
Parameters
- $userId : array<string|int, mixed>|int
-
Id of the user.
Return values
$thisbuild()
Builds search string.
public
build() : string
Return values
stringcreate()
Creates instance of the StringBuilder
public
static create() : static