Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
GraphQL
Error
Error
jsonSerialize
GraphQL\Error\Error::jsonSerialize PHP 메소드
Error 1 문서
파일 보기
프로젝트 열기: webonyx/graphql-php
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->toSerializableArray(); }
Error
__construct
createLocatedError
formatError
getLocations
getPositions
getSource
jsonSerialize
toSerializableArray