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
checkFormat
Overtrue\Validation\MessageBag::checkFormat PHP Method
MessageBag Class Documentation
Show file
Open project: overtrue/validation
checkFormat()
protected
method
Get the appropriate format based on the given format.
protected
checkFormat
(
string
$format
) :
string
$format
string
return
string
protected function checkFormat($format) { return $format === null ? $this->format : $format; }
MessageBag
__construct
__toString
add
all
any
checkFormat
count
first
get
getFormat
getMessageBag
getMessages
has
isEmpty
isUnique
jsonSerialize
merge
setFormat
toArray
toJson
transform