Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Overtrue
Validation
MessageBag
jsonSerialize
Overtrue\Validation\MessageBag::jsonSerialize PHP Method
MessageBag Class Documentation
Show file
Open project: overtrue/validation
jsonSerialize()
public
method
Convert the object into something JSON serializable.
public
jsonSerialize
( ) :
array
return
array
public function jsonSerialize() { return $this->toArray(); }
MessageBag
__construct
__toString
add
all
any
checkFormat
count
first
get
getFormat
getMessageBag
getMessages
has
isEmpty
isUnique
jsonSerialize
merge
setFormat
toArray
toJson
transform