Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Youshido
GraphQL
Type
Scalar
DateTimeType
PHP Class Youshido\GraphQL\Type\Scalar\DateTimeType
Inheritance:
extends
AbstractScalarType
Mostrar archivo
Open project: youshido/graphql
Class Usage Examples
Public Methods
Method
Description
__construct
(
$format
= 'Y-m-d H:i:s' )
getDescription
( )
getName
( )
isValidValue
(
$value
)
parseValue
(
$value
)
serialize
(
$value
) :
null
|
string
Method Details
__construct()
public
method
public
__construct
(
$format
= 'Y-m-d H:i:s' )
getDescription()
public
method
public
getDescription
( )
getName()
public
method
public
getName
( )
isValidValue()
public
method
public
isValidValue
(
$value
)
parseValue()
public
method
public
parseValue
(
$value
)
serialize()
public
method
public
serialize
(
$value
) :
null
|
string
$value
\DateTime
return
null
|
string