public array jsonSerialize ()
Returns serialised model objects as array for json_encode. Calls jsonSerialize on each object if present
1 2 | $robots = Robots::find(); echo json_encode( $robots ); |
public array jsonSerialize ()
Returns serialised model objects as array for json_encode. Calls jsonSerialize on each object if present
1 2 | $robots = Robots::find(); echo json_encode( $robots ); |
Designed by : w10schools
service@w10schools.com
Please login to continue.