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
Youshido
GraphQL
Type
Scalar
DateTimeType
PHP Class Youshido\GraphQL\Type\Scalar\DateTimeType
Inheritance:
extends
AbstractScalarType
Afficher le fichier
Open project: youshido/graphql
Class Usage Examples
Méthodes publiques
Méthode
Description
__construct
(
$format
= 'Y-m-d H:i:s' )
getDescription
( )
getName
( )
isValidValue
(
$value
)
parseValue
(
$value
)
serialize
(
$value
) :
null
|
string
Method Details
__construct()
public
méthode
public
__construct
(
$format
= 'Y-m-d H:i:s' )
getDescription()
public
méthode
public
getDescription
( )
getName()
public
méthode
public
getName
( )
isValidValue()
public
méthode
public
isValidValue
(
$value
)
parseValue()
public
méthode
public
parseValue
(
$value
)
serialize()
public
méthode
public
serialize
(
$value
) :
null
|
string
$value
\DateTime
Résultat
null
|
string