MapBuilder
Table of Contents
Methods
- __construct() : mixed
- StringBuilder constructor.
- addPhone() : $this
- Adds phone number to the builder.
- addText() : mixed
- Adds arbitrary string 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
addPhone()
Adds phone number to the builder.
public
addPhone(string $phone) : $this
Parameters
- $phone : string
-
Phone number.
Return values
$thisaddText()
Adds arbitrary string 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(int $userId) : $this
Parameters
- $userId : 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