Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
Asvae
ApiTester
Entities
BaseEntity
jsonSerialize
Asvae\ApiTester\Entities\BaseEntity::jsonSerialize PHP Method
BaseEntity Class Documentation
ファイルを表示
Open project: asvae/laravel-api-tester
jsonSerialize()
public
method
Specify data which should be serialized to JSON
See link:
http://php.net/manual/en/jsonserializable.jsonserialize.php
Since:
5.4.0
public
jsonSerialize
( ) :
mixed
return
mixed
data which can be serialized by
json_encode
, which is a value of any type other than a resource.
function jsonSerialize() { return $this->toArray(); }
BaseEntity
__construct
fill
filterFillable
jsonSerialize
offsetExists
offsetGet
offsetSet
offsetUnset
toArray
toJson