Abstract class with basic setters and getters
Properties
Scope | Name | Type | Default | Description |
---|---|---|---|---|
protected | $name |
string |
'' |
Name of the object |
protected | $id |
string|int |
null |
Id of the object |
Method list
Scope | Name | Return | Description |
---|---|---|---|
public | __toString |
string |
Gets the name of the object |
public | setName |
$this |
Sets the name of the object |
public | netName |
string |
Gets the name of the object |
public | setId |
$this |
Sets the id of the object |
public | getId |
string|int |
Gets the id of the object |