Метод | Описание | |
---|---|---|
getId ( ) : integer | Get id. | |
getPosition ( ) : string | Get position. | |
jsonSerialize ( ) : mixed |
(PHP 5 >= 5.4.0) Specify data which should be serialized to JSON. |
|
setPosition ( string $position ) : |
Set position. |
public jsonSerialize ( ) : mixed | ||
Результат | mixed | data which can be serialized by json_encode, which is a value of any type other than a resource |
public setPosition ( string $position ) : |
||
$position | string | |
Результат |