Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
GraphQL
Error
Error
jsonSerialize
GraphQL\Error\Error::jsonSerialize PHP Méthode
Error Class Documentation
Afficher le fichier
Open project: webonyx/graphql-php
jsonSerialize()
public
méthode
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
Résultat
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