Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Asvae
ApiTester
Entities
BaseEntity
jsonSerialize
Asvae\ApiTester\Entities\BaseEntity::jsonSerialize PHP 메소드
BaseEntity 1 문서
파일 보기
프로젝트 열기: asvae/laravel-api-tester
jsonSerialize()
공개
메소드
Specify data which should be serialized to JSON
링크 보기:
http://php.net/manual/en/jsonserializable.jsonserialize.php
부터:
5.4.0
public
jsonSerialize
( ) :
mixed
리턴
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