WithId
in
Identifies an object with an ID
Tags
Table of Contents
- getId() : string|int
- Gets the unique identifier of the object
- setId() : WithId
- Sets the unique identifier of the object
Methods
getId()
Gets the unique identifier of the object
public
getId() : string|int
Return values
string|int —Unique identifier of the object
setId()
Sets the unique identifier of the object
public
setId(string|int $id) : WithId
Parameters
- $id : string|int
-
Unique identifier of the object