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